Function Manual
300 01/2017
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>
The function deletes an element at the specified position.
Note:
The function is only available for the control type "listbox".
<function name="control.deleteitem"> control name,
index </function>
– function name
– control name
– index starting at 0
<function name="control.deleteitem">_T"listbox1",