Parameters: TouchButtonVar‐
Name
Name of the display variable that contains a SlEsTouch‐
Button
Return Value read value of the property (string)
Value value to be set (string)
The file name is specified as value, for example "sk_ok.png". The TouchButton automatically
determines the correct picture file from the current resolution directory (see Chapter Using
display images/graphics (Page 61)).
In the deactivated state, the background picture is automatically shown in shades of gray.
Note
See Chapter Using display images/graphics (Page 61).
See also properties - "BackgroundPictureAlignment", "ScaleBackgroundPicture",
"BackgroundPictureKeepAspectRatio".
BackgroundPictureAlignment – alignment of the background picture
Syntax: ReturnValue = ReadCWProperty(
TouchButtonVarName
, "BackgroundPictur‐
eAlignment")
WriteCWProperty(
TouchButtonVarName
, "BackgroundPictureAlignment",
Val‐
ue
)
Description: Reads/sets the alignment of the background picture.
Parameters: TouchButtonVar‐
Name
Name of the display variable that contains a SlEsTouch‐
Button
Return Value Read value of the property (int)
Value Value to be set (int):
1 = left
2 = right
32 = top
64 = bottom
128 = centered (default)
Note
See Chapter Positioning and aligning picture and text (Page 269).
See also properties - "BackgroundPictureAlignment", "ScaleBackgroundPicture",
"BackgroundPictureKeepAspectRatio".
Graphic and logic elements
7.6 SlEsTouchButton
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 263