Function name Description
Insert Item The function inserts a new element at the specified position.
Note:
The function is
only available for the control types "listbox" and "graph‐
icbox".
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>
Delete item The function deletes an element at the specified position.
Note:
The function is
only available for the control types "listbox" and "graph‐
icbox".
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>
Generating user dialogs
1.9 Predefined functions
Easy XML
104 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3