Figure 7-31 TextAlignment - bottom
Figure 7-32 TextAlignment - centered
Note
See Chapter Positioning and aligning picture and text (Page 269).
See also properties "Text", "TextAlignmentString", "TextAlignedToPicture".
TextAlignmentString – alignment of the text
Syntax: ReturnValue = ReadCWProperty(
TouchButtonVarName
, "TextAlignment‐
String")
WriteCWProperty(
TouchButtonVarName
, "TextAlignmentString",
Value
)
Description: Reads/sets the alignment of the text. This property is analogous to the "TextA‐
lignment" property. The value is not transfigured here as number (int), but as
string.
Parameter: 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):
"Left" = left
"Right" = right
"Top" = top
"Bottom" = bottom
"Center" = centered (default)
Note
See Chapter Positioning and aligning picture and text (Page 269).
See also properties - "Text", "TextAlignment", "TextAlignedToPicture".
Graphic and logic elements
7.6 SlEsTouchButton
SINUMERIK Integrate Run MyScreens (BE2)
258 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1