Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 368

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Function name
control.getfocus
control.setfocus
control.getcurssel
368
Description
The function supplies the name of the control, which has the input
focus.
Syntax:
<function name="control.getfocus" re-
turn="focus_name" />
Attributes:
name – function name
return – a string variable should be specified, into which the control
name is copied.
Example:
<let name>="focus_field" type="string"></let>
<function name="control.getfocus" re-
turn="focus_field"/>
The function sets the input focus to the specified control.
The control name should be transferred as text expression of the
function.
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 control name should be transferred as text expression of the
function.
Syntax:
<function name="control.getcurssel" retvar="var">
control name </function>
Example:
<let name>="index"></let>
<function name="control.getcurssel"
">_T"listbox1"</function>
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents