Previous Next

SET-RED-VALUE( ) method

(Graphical interfaces only)
Specifies the red component of an entry in the color table. 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-RED-VALUE ( index , red-value )
index
An integer expression that specifies an entry in the color table.
red-value
An integer expression that specifies the red RGB component of an entry in the color table. The value must be in the range 0 to 255.
If the operation is successful, the method returns TRUE.

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