ListBox Members
Use the ListBox control to display scrollable lists of items. In addition to the members listed for the general Control object, the ListBox control has the following members. Key members (shown in bold) are covered in the following reference section:
|
AddItem |
BackColor |
BorderColor |
|
BorderStyle |
BoundColumn |
Clear( ) |
|
Column |
ColumnCount |
ColumnHeads |
|
ColumnWidths |
Enabled |
Font |
|
ForeColor |
IMEMode |
|
|
List |
ListCount |
ListIndex |
|
ListStyle |
Locked |
MatchEntry |
|
MouseIcon |
MousePointer |
|
|
RemoveItem |
Selected |
SpecialEffect |
|
Text |
TextAlign |
TextColumn |
|
TopIndex |
Value |
The listbox control is similar to the combo box control, except the list is always displayed and it does not include an edit region. The ListBox members are nearly identical to the ComboBox members, so see "ComboBox Members,” earlier in the chapter, for those topics. The two members that are unique to the ListBox control are covered here.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access