See Also Properties Events Methods
Description
A list box displays a list of items from which the user can select one or more. If the number of items exceeds what can be displayed, a scroll bar is automatically added to the list box.
If no item is selected, the ListIndex property value is -1. The first item in the list is ListIndex 0, and ListCount is always one more than the largest ListIndex value.
Remarks
To add or delete items in a list, use the AddItem Set the List , ListCount , and ListIndex properties to enable a user to access items in the list.
BackColor1W9T6JQ Height NewIndex Columns HelpContextID Parent DragIcon hWnd Selected DragMode Index Sorted Enabled ItemData TabIndex FontBold Left TabStop FontItalic5NZYQSD List Tag FontName ListCount Text FontSize ListIndex Top FontStrikethru MousePointer TopIndex FontUnderline MultiSelect Visible ForeColor1W9T6JQ Name Width |
Click GotFocus LostFocus DblClick KeyDown MouseDown DragDrop KeyPress MouseMove DragOver KeyUp MouseUp |
AddItem Move SetFocus Clear Refresh ZOrder Drag RemoveItem |
Help:
Drawing a Control
Programmer's Guide:
Chapter 3, "Creating and Using Controls"