Example 1b
The
following example defines a variable for which the properties variable type, default setting,
texts, tooltip, input mode and position of short text are set.
DEF Var2 = (I//5/"","Value","",""," Tooltip text"/wr2///20,250,50)
Variable type: INTEGER
Default setting: 5
Texts:
Short text: Value (possible language text ID)
Tooltip: ToolTipText
Attributes:
Input mode: Reading and writing
Position of short text:
Distance from left: 20
Distance from top: 250
Width: 50
See also
Variable parameters
(Page 69)
5.4 Example 2: Assigning the Variable Type, Limits, Attributes, Short Text
Position properties
Example 2
The following example defines a variable for which the properties variable type, limits, input
mode, alignment and position are set.
DEF Var2 = (I/0,10///wr1,al1///,,300)
Variable type: INTEGER
Limits or toggle field entries: MIN: 0
MAX: 10
Attributes:
Input mode: Read-only
Alignment of short text: Right-justified
Position of short text:
Width: 300
See also
Variable parameters
(Page 69)
Variables
5.4 Example 2: Assigning the Variable Type, Limits, Attributes, Short Text Position properties
SINUMERIK Integrate Run MyScreens
64 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3