Table of Contents

TTMSFNCComboBox Class

Combo box component with editable text, selectable drop-down items, autocomplete, and virtual item support.

API unit family: TMSFNCComboBox Inherits from: TTMSFNCCustomComboBox

Syntax

TTMSFNCComboBox = class(TTMSFNCCustomComboBox)

Properties

Name Description
AutoCloseUp Gets or sets whether the drop-down closes automatically after autocomplete finds a full match. (inherited from TTMSFNCCustomComboBox)
AutoComplete Gets or sets whether typed text selects matching items. (inherited from TTMSFNCCustomComboBox)
AutoCompleteDelay Gets or sets the maximum delay, in milliseconds, between keystrokes that belong to one autocomplete search. (inherited from TTMSFNCCustomComboBox)
AutoCompleteNumChar Gets or sets the minimum number of typed characters required before autocomplete filtering starts. (inherited from TTMSFNCCustomComboBox)
AutoDropDown Gets or sets whether typing opens the drop-down automatically. (inherited from TTMSFNCCustomComboBox)
AutoFilter Gets or sets whether typing filters the drop-down list. (inherited from TTMSFNCCustomComboBox)
BitmapContainer Gets or sets the bitmap container used to resolve item images. (inherited from TTMSFNCCustomComboBox)
CaseSensitive Gets or sets whether typed matching distinguishes uppercase and lowercase characters. (inherited from TTMSFNCCustomComboBox)
ClearFilterOnSelection Gets or sets whether item filters are cleared after a selection is made. (inherited from TTMSFNCCustomComboBox)
Count Gets the number of items available in the drop-down list. (inherited from TTMSFNCCustomComboBox)
DropDownCount Gets or sets the maximum number of visible rows in the drop-down list. (inherited from TTMSFNCCustomComboBox)
FilterMode Gets or sets how typed text is matched when filtering items. (inherited from TTMSFNCCustomComboBox)
Font Gets or sets the font used to render the selected text. (inherited from TTMSFNCCustomComboBox)
ItemAppearance Gets or sets the appearance settings for item rows in the drop-down list. (inherited from TTMSFNCCustomComboBox)
ItemHeight Gets or sets the height of each item row in the drop-down list. (inherited from TTMSFNCCustomComboBox)
ItemIndex Gets or sets the zero-based index of the selected item. (inherited from TTMSFNCCustomComboBox)
Items Gets or sets the string list used as the non-virtual item source. (inherited from TTMSFNCCustomComboBox)
Style Gets or sets whether users can type custom text or only select from the list. (inherited from TTMSFNCCustomComboBox)
Text Gets or sets the text displayed in the edit area. (inherited from TTMSFNCCustomComboBox)

Methods

Name Description
AddItem Adds an item to the non-virtual item list. (inherited from TTMSFNCCustomComboBox)

Events

Name Description
OnChange Occurs after the selected value changes. (inherited from TTMSFNCCustomComboBox)
OnGetItemText Occurs when virtual item mode needs the display text for an item. (inherited from TTMSFNCCustomComboBox)
OnGetNumberOfItems Occurs when virtual item mode needs the number of available items. (inherited from TTMSFNCCustomComboBox)
OnItemSelected Occurs when an item is selected from the drop-down list or by autocomplete. (inherited from TTMSFNCCustomComboBox)

Used by