GETSTRING

Top  Previous  Next

Syntax

STRING = GETSTRING(win as WINDOW,id as INT,pos as UINT)

Description

Returns a string in a list box or combo box. pos is a zero based index.

Parameters

win - Window or dialog containing control.

id - Identifier of the list box or combo box control.

pos - String position to return.

Return value

The string located at pos

Remarks

See Also: ADDSTRING, INSERTSTRING, DELETESTRING

Example usage

strSel = GETSTRING(mydlg, 7, 0)