Siemens SINUMERIK 808D Function Manual page 300

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

Advertisement

Function name
control.insertitem
control.deleteitem
300
Description
The function inserts a new element at the specified position.
Note:
The function is only available for the control types "listbox" and
"graphicbox".
Syntax:
<function name="control.insertitem"> control name,
index, item, itemdata </function>
Attribute:
name – function name
Values:
control name – control name
index – position starting with zero
item - expression to be inserted
itemdata - integer value; defined by the user
Example:
<let name ="itemdata">1</let>
...
...
...
<op> item_string = _T"text2" </op>
<function name="control.insertitem">_T"listbox1",
1, item_string, itemdata </function>
The function deletes an element at the specified position.
Note:
The function is only available for the control type "listbox".
Syntax:
<function name="control.deleteitem"> control name,
index </function>
Attribute:
name – function name
Values:
control name – control name
index– index starting at 0
Example:
<function name="control.deleteitem">_T"listbox1",
1</function>
Function Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents