Partager via


ComboBox Control Properties, Methods and Events

Properties

Alignment Application BackColor
BaseClass BorderColor BorderStyle
BoundColumn BoundTo Class
ClassLibrary ColorScheme ColorSource
ColumnCount ColumnLines ColumnWidths
Comment ControlSource DisabledBackColor
DisabledForeColor DisabledItemBackColor DisabledItemForeColor
DisplayCount Property DisplayValue DragIcon
DragMode Enabled FirstElement
FontBold FontCondense FontExtend
FontItalic FontName FontOutline
FontShadow FontSize FontStrikeThru
FontUnderline ForeColor Format
Height HelpContextID HideSelection
IMEMode IncrementalSearch InputMask
ItemBackColor ItemData ItemForeColor
ItemIDData ItemTips Left
List ListCount ListIndex
ListItem ListItemID Margin
MouseIcon MousePointer Name
NewIndex NewItemID NullDisplay
NumberOfElements OLEDragMode OLEDragPicture
OLEDropEffects OLEDropHasData Property OLEDropMode
OLEDropTextInsertion Parent ParentClass
Picture ReadOnly RightToLeft
RowSource RowSourceType Selected
SelectedBackColor SelectedForeColor SelectedID
SelectOnEntry SelLength SelStart
SelText Sorted SpecialEffect
StatusBarText Style TabIndex
TabStop Tag Text Property
TerminateRead ToolTipText Top
TopIndex TopItemID Value
Visible WhatsThisHelpID Width

Events

Click DblClick Destroy
DownClick DragDrop DragOver
DropDown Error ErrorMessage
GotFocus Init InteractiveChange
KeyPress LostFocus Message
MiddleClick Event MouseDown MouseEnter
MouseLeave MouseMove MouseUp
MouseWheel OLECompleteDrag OLEDragDrop
OLEDragOver OLEGiveFeedBack OLESetData
OLEStartDrag ProgrammaticChange RangeHigh
RangeLow RightClick UIEnable
UpClick Valid When

Methods

AddItem AddListItem AddProperty
Clear CloneObject Drag
IndexToItemID ItemIDToIndex Move
OLEDrag ReadExpression ReadMethod
Refresh RemoveItem RemoveListItem
Requery ResetToDefault SaveAsClass
SetFocus SetViewPort ShowWhatsThis
WriteExpression WriteMethod ZOrder

See Also

ComboBox Control | Form Designer | Using Controls