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: LOGICAL

Applies to: COLOR-TABLE system handle

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.