Share via


ListBox Control Properties, Methods, and Events

The following tables list the properties, methods, and events reference topics for this object.

Properties

Anchor

Application

AutoHideScrollBar

BaseClass

BorderColor

BoundColumn

BoundTo

Class

ClassLibrary

ColorScheme

ColorSource

ColumnCount

ColumnLines

ColumnWidths

Comment

ControlSource

DisabledBackColor

DisabledForeColor

DisabledItemBackColor

DisabledItemForeColor

DisplayValue

DragIcon

DragMode

Enabled

FirstElement

FontBold

FontCharSet

FontCondense

FontExtend

FontItalic

FontName

FontOutline

FontShadow

FontSize

FontStrikeThru

FontUnderLine

Height

HelpContextID

IncrementalSearch

IntegralHeight

ItemBackColor

ItemData

ItemForeColor

ItemIDData

ItemTips

Left

List

ListCount

ListIndex

ListItem

ListItemID

MouseIcon

MousePointer

MoverBars

MultiSelect

Name

NewIndex

NewItemID

NullDisplay

NumberOfElements

OLEDragMode

OLEDragPicture

OLEDropEffects

OLEDropHasData

OLEDropMode

Parent

ParentClass

Picture

RightToLeft

RowSource

RowSourceType

Selected

SelectedID

SelectedItemBackColor

SelectedItemForeColor

Sorted

SpecialEffect

StatusBarText

TabIndex

TabStop

Tag

TerminateRead

Themes

ToolTipText

Top

TopIndex

TopItemID

Value

Visible

WhatsThisHelpID

Width

 

 

Methods

AddItem

AddListItem

AddProperty

Clear

CloneObject

Drag

IndexToItemID

ItemIDToIndex

Move

MoveItem

OLEDrag

ReadExpression

ReadMethod

Refresh

RemoveItem

RemoveListItem

Requery

ResetToDefault

SaveAsClass

SetFocus

WriteExpression

WriteMethod

ZOrder

 

Events

Click

DblClick

Destroy

DragDrop

DragOver

Error

ErrorMessage

GotFocus

Init

InteractiveChange

KeyPress

LostFocus

Message

MiddleClick

MouseDown

MouseEnter

MouseLeave

MouseMove

MouseUp

MouseWheel

OLECompleteDrag

OLEDragDrop

OLEDragOver

OLEGiveFeedBack

OLESetData

OLEStartDrag

OnMoveItem

ProgrammaticChange

RangeHigh

RangeLow

RightClick

UIEnable

Valid

When

 

 

See Also

Reference

ListBox Control

ListCount Property

Form Designer

Other Resources

Using Controls