# ListBox

Inherits Control

This control implements a list of selectable text items.

This class is creatable.

`DIM hListBox AS ListBox hListBox = NEW ListBox ( Parent AS Container )`

Creates a new ListBox.

This class acts like a read-only array.

`DIM hListBox AS ListBox DIM hListBoxItem AS .ListBoxItem hListBoxItem = hListBox [ Index AS Integer ]`

Returns a list-box item from its index.

Properties |  | Methods |  | Events |  | Constants |
--- | --- | --- | --- | --- | --- | --- | ---
BackColor Background Contents Count Current Cursor Design Drop Enabled Expand Font ForeColor Foreground H Handle Height Id Index Left List Mode Mouse Next Parent Previous ScreenX ScreenY Sorted Tag Text ToolTip Top Visible W Width Window X Y |  | Add Clear Delete Drag Find Grab Hide Lower Move Raise Refresh Remove Resize SetFocus Show |  | Activate Click DblClick Drag DragMove Drop Enter GotFocus KeyPress KeyRelease Leave LostFocus Menu MouseDown MouseMove MouseUp MouseWheel Select |  | Extended Multi None Single |