Navigation: Ultimate Suite for PowerBuilder Help > Gradient Header > Functions >

of_setcolor

Send comments on this topic.

 

Description:

Sets the two colors that make up the gradient background.

Syntax:

of_setcolor (long al_gradient1, long al_gradient2)

Argument

Description

al_gradient1

RGB value of the color used in the top portion of the gradient.

al_gradient2

RGB value of the color used in the bottom portion of the gradient.

Return Value:

Always returns 1.

Usage:

Pass two colors with the same value to create a solid background


Copyright © 2021 Werysoft Inc.