Previous Next

SET-RGB-VALUE( ) method

(Graphical interfaces only)
Specifies a combination of the red, green, and blue values 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-RGB-VALUE ( index , integer-expression )
index
An integer expression that specifies an entry in the color table.
integer-expression
An integer expression that specifies the RGB component of an entry in the color table. You can obtain this value from the color property of an ActiveX control, by using the RGB-VALUE function, or by using the GET-RGB-VALUE( ) method.
If the operation is successful, the method returns TRUE.

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