Skip to content

ComboBox Control Members

See Also

ComboBox Overview

See Also

Suite Pro Controls ActiveX Control v24.0

ComboBox Control Members

Public Methods

Method Description
Public MethodAboutBox Displays a dialog box that specifies the current version of the control.
Public MethodAddItem Adds an item to the combobox control.
Public MethodClear Clears the contents of the combobox.
Public MethodFindItem Finds the first item in the combobox that starts with the specified string.
Public MethodRemoveItem Removes an item from the combobox.

Public Properties

Property Description
Public PropertyAppearance Gets or sets the appearance of the control.
Public PropertyAutoComplete Enables or disables auto completion.
Public PropertyBackColor Gets or sets the background color of the control.
Public PropertyControlToolTip Gets or sets the tool tip that is displayed when the mouse cursor is positioned over this item.
Public PropertyDrawFocusRect Gets or sets whether a focus rectangle is drawn around the items in the combo box.
Public PropertyDropDownItemCount Gets or sets the number of items to display when the combo box is dropped down.
Public PropertyDropDownWidth Gets or sets the width of the drop-down portion of a combo box.
Public PropertyDroppedState Gets or sets a value indicating whether the combo box is displaying its drop-down portion.
Public PropertyEnabled Gets or sets whether this control is enabled.
Public PropertyEnableMarkup Allows the use of a XAML snippet to be used for the control.
Public PropertyFlatStyle Gets or sets the "flat" appearance of the control.
Public PropertyFont Gets/Sets the font that will be used to display the text for the control.
Public PropertyForeColor Gets or sets the foreground color used to display text in the control.
Public PropertyhWnd Gets the window handle that the control is bound to.
Public PropertyItemData Returns or sets a specific number for each item in the combobox control.
Public PropertyList Returns or sets the items contained in a combobox's list portion. The list is a string array in which each element is a list item.
Public PropertyListCount Returns the number of items in the list portion of the combobox.
Public PropertyListIndex Returns or sets the index of the currently selected item in the combobox.
Public PropertyLocked Gets or sets a value that indicates whether the ComboBox can be modified at design time when the sheet is protected.
Public PropertyMarkupList Returns or sets the items contained in a combobox's list portion stored as markup. The list is a string array in which each element is a list item stored as markup.
Public PropertyMaxLength Gets or sets the maximum number of characters that can be entered in the combo's edit control.
Public PropertyNewIndex Returns the index of the item most recently added to the ComboBox.
Public PropertyRightToLeft Gets or sets a value indicating whether the control elements are aligned to support locales using right-to-left fonts.
Public PropertySelLength Gets or sets the number of characters selected in the editable portion of the combo box.
Public PropertySelStart Gets or sets the starting index of text selected in the combo box.
Public PropertySelText Gets or sets the text that is selected in the editable portion of the ComboBox.
Public PropertySorted Gets or sets a value indicating whether the items in the combo box are sorted.
Public PropertyStyle Gets or sets a value specifying the style of the combo box.
Public PropertyText Gets or sets the text associated with this control.
Public PropertyToolTipContext Represents the tool tip window that is used to display tool tips.
Public PropertyTopIndex Returns or sets a value that specifies which item in the combobox is displayed in the topmost position.
Public PropertyUpdateBackColorOnAppearanceChange Gets or sets whether the background color updates on appearance change.
Public PropertyUpdateForeColorOnAppearanceChange Gets or sets whether the foreground color updates on appearance change.
Public PropertyUseVisualStyle Determines if the control is drawn using visual styles/SkinFramework, if supported.

Events

Event Description
Public EventChange Indicates the contents of the combobox have changed.
Public EventClick Occurs when the user presses and then releases a mouse button over the combobox. It can also occur when the value of the combobox is changed.
Public EventDblClick Occurs when the user double-clicks on the combobox.
Public EventDropDown Occurs when the drop-down portion of the ComboBox is shown.
Public EventKeyDown Occurs when the user presses a key while a control has the focus.
Public EventKeyPress Occurs when the user presses and releases an ANSI key.
Public EventKeyUp Occurs when the user releases a key while a control has the focus.
Public EventReCreated Occurs when the ComboBox is recreated.

See Also

ComboBox Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.