Siemens SINUMERIK 828D Commissioning Manual page 859

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Function name
Set focus
Get cursor selection
Set cursor selection
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Description
The function sets the input focus to the specified control.
The Controlname should be transferred as text expression of the func‐
tion.
Syntax:
<function name="control.setfocus"> control name </
function>
Attribute:
name – function name
Value:
control name – name of the control
Example:
<function name="control.setfocus" ">_T"listbox1"</
function>
For a list box, the function supplies the cursor index.
The Controlname should be transferred as text expression of the func‐
tion.
Syntax:
<function name="control.getcurssel" retvar="var">
control name </function>
Example:
<let name>="index"></let>
<function name="control.getcurssel"
">_T"listbox1"</function>
For a list box, the function sets the cursor to the appropriate line.
The Controlname should be transferred as text expression of the func‐
tion.
Syntax:
<function name="control.setcurssel" > control
name, index</function>
Example:
<let name>="index">2</let>
<function name="control.setcurssel"
">_T"listbox1",index</function>
Generating user dialogs
1.9 Predefined functions
107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents