Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
365
The function inserts a new element at the end of the list.
Note:
The function is only available for the control types "listbox" and
"graphicbox".
<function name="control.additem"> control name,
item </function>
– function name
– control name
- expression to be inserted
- integer value; defined by the user
<let name ="itemdata">1</let>
…
…
…
<op> item_string = _T"text1" </op>
<function name="control.additem">_T"listbox1",
item_string, itemdata
The function inserts a new element at the specified position.
Note:
The function is only available for the control types "listbox" and
"graphicbox".
<function name="control.insertitem"> control name,
index, item, itemdata </function>
– function name
– control name
– position starting with zero
- expression to be inserted
- integer value; defined by the user
<let name ="itemdata">1</let>
…
…
…
<op> item_string = _T"text2" </op>
<function name="control.insertitem">_T"listbox1",
1, item_string, itemdata </function>