INSERTSTRING

Top  Previous  Next

Syntax

INSERTSTRING(win as WINDOW,id as INT,pos as UINT,text as STRING)

Description

Inserts a string into a combo or list box control.

Parameters

win - Window or dialog containing the control.

id - Identifier of the list box or combo box control

pos - Zero based position to insert the string

text - String to insert.

Return value

None

Remarks

All other strings are moved down by one position.

See Also: ADDSTRING, DELETESTRING

Example usage

INSERTSTRING mywindow, 7, 0, "New text"