lbAdd

From Bohemia Interactive Community
Revision as of 12:46, 16 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

lbAdd [idc, text]


Operand types:

[idc, text]: Array

Type of returned value:

Number

Description:

Add item with given text to listbox or combobox with id idc of topmost user dialog.

Return index of new added item.


Example:

_index = lbAdd [101, "First item"]