Condividi tramite


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 FontCharSet 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 MaxLength MouseIcon
MousePointer Name NewIndex
NewItemID NullDisplay NumberOfElements
OLEDragMode OLEDragPicture OLEDropEffects
OLEDropHasData Property OLEDropMode OLEDropTextInsertion
Parent ParentClass Picture
PictureSelectionDisplay ReadOnly RightToLeft
RowSource RowSourceType Selected
SelectedBackColor SelectedForeColor SelectedID
SelectedItemBackColor SelectedItemForeColor SelectOnEntry
SelLength SelStart SelText
Sorted SpecialEffect StatusBarText
Style TabIndex TabStop
Tag Text Property TerminateRead
Themes ToolTipText Top
TopIndex TopItemID Value
Visible WhatsThisHelpID Width

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

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

See Also

ComboBox Control | Form Designer | Using Controls