Command LBSET
Function:
Set the current selection for a list box.
Syntax:
LBSET dlg_id id index
| dlg_id | Specifies the identifier of the dialog box that contains the list box. |
| id | Specifies the identifier of the list box. |
| index | Specifies the index to insert the string into. |
Note:
- Indexes are zero based, that is, the first string in the list box is at index 0, the second string is at index 1 and so on.
- If parameter index is specified with a value of -1 then the list box is set to have no selection.
- If parameter index is specified with a value of -1 then the list box is set to have no selection.
- Also see command LBGET and LBTEXT.
|