SetColor
SetColor(windowID, childID), SetColor(, childID), SetColor
Parameter: Bezeichner eines Windows und eines Child-Windowobjekts
Stack | Position | Beschreibung |
---|---|---|
Stack(In) | Top | Konstante |
Stack(Out) | Top | - |
Setzt die Farbe des ausgewählten Widget. Die Farbe kann mit Hilfe von folgenden Konstanten gesetzt werden:
BLACK, BLUE, GREEN, RED, MAGENTA, CYAN, BROWN, LIGHTGRAY, DARKGRAY, LIGHTBLUE, LIGHTRED, LIGHTGREEN, LIGHTMAGENTA, YELLOW, WHITE
// Set the color red for
the ok button
// The color can also be changed for a vector of widgets at once!
BLUE [ "OKBtn", "CancelBtn", "NewBtn", "DeleteBtn" ] SetColor(, STACK)
RED SetColor(, OKBtn)
// The color can also be changed for a vector of widgets at once!
BLUE [ "OKBtn", "CancelBtn", "NewBtn", "DeleteBtn" ] SetColor(, STACK)