Loading...
 

SetColor

SetColor

SetColor(windowID, childID), SetColor(, childID), SetColor

Parameter: Identifier of a Windows and a Child Windows object

Stack
Stack Position Description
Stack(In) Top Constant
Stack(Out) Top -

Sets the colour of the selected widget. The colour can be set using the following constants:

  BLACK, BLUE, GREEN, RED, MAGENTA,  
CYAN, BROWN, LIGHTGRAY, DARKGRAY,
LIGHTBLUE, LIGHTRED, LIGHTGREEN,
LIGHTMAGENTA, YELLOW, WHITE

// Set the color red for the ok button
RED SetColor(, OKBtn)
// The color can also be changed for a vector of widgets at once!
BLUE [ "OKBtn", "CancelBtn", "NewBtn", "DeleteBtn" ] SetColor(, STACK)