Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : SET-GREEN-VALUE( ) method
 

SET-GREEN-VALUE( ) method

(Graphical interfaces only)
Specifies the green component of an entry in the color table. If the operation is successful, the method returns TRUE.
You cannot change a static color with this method. Before changing the color, you must make the color dynamic using the SET-DYNAMIC( ) method. For an example, see r-colhan.p in the COLOR-TABLE system handle entry.
Return type: LOGICAL
Applies to: COLOR-TABLE system handle

Syntax

SET-GREEN-VALUE ( index , green-value )
index
An integer expression that specifies an entry in the color table.
green-value
An integer expression that specifies the green RGB component of an entry in the color table. The value must be in the range 0 to 255.