LISTBOX RESET

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ListBox Control > ListBox Control Commands >

LISTBOX RESET

 

Description

 

Remove all strings from a list box.

 

Syntax

 

LISTBOX RESET hWnd, ctrlID [, NewStringArray()]

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

NewStringArray

String

Yes

If present, new list of items will substitute current one in LISTBOX items

 

Remarks

 

Restrictions

 

See also

 

Examples