Note
See also the " Enabled" property.
TextColor – text color
Syntax: ReturnValue = ReadCWProperty(
TouchButtonVarName
, "TextColor")
WriteCWProperty(
TouchButtonVarName
, " TextColor",
Value
)
Description: Reads/sets the text color if the TouchButton is in its quiescent state (not actu‐
ated).
Parameters: TouchButtonVar‐
Name
Name of the display variable that contains a SlEsTouch‐
Button
Return Value Read color of the property (string)
Value Value to be set (string) as RGB value in the form
"#RRGGBB",
for example, "#04B7FB"
Note
This property is only available with active style "1= user-specific".
TextColorChecked – text color in the checked state
Syntax: ReturnValue = ReadCWProperty(
TouchButtonVarName
, "TextColorChecked")
WriteCWProperty(
TouchButtonVarName
, " TextColorChecked",
Value
)
Description: Reads/sets the text color if the TouchButton is in the checked state (toggle
function).
Parameters: TouchButtonVar‐
Name
Name of the display variable that contains a SlEsTouch‐
Button
Return Value Read color of the property (string)
Value Value to be set (string) as RGB value in the form
"#RRGGBB",
for example, "#04B7FB"
Note
This property is only available with active style "1= user-specific".
Note
See also properties "Checked", "Checkable".
Graphic and logic elements
7.6 SlEsTouchButton
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 261