Name
Combobox.Insert -- insert new entry (V1.1)
Synopsis
moai.DoMethod(id, "Insert", pos, e$)
Function
Insert the entry specified in e$ into the combobox. The insert position is specified in the pos argument. The new entry will be added in front of the entry specified by pos. This can be an absolute index position starting at 0 for the first entry or one of the following special values:

Top
Insert as first entry.

Bottom
Insert as last entry.

If pos is bigger or equal to the number of entries in the combobox, the entry will be inserted as the last entry.

Inputs
id
id of the combobox object
pos
insert position as absolute number or special value (see above)
e$
entry to insert

Show TOC