Previous Next

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:
Applies to:
 
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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.