TTMSFNCControlPicker Class
Picker component that displays another control in its drop-down.
API unit family: TMSFNCControlPicker
Inherits from: TTMSFNCCustomControlPicker
Syntax
TTMSFNCControlPicker = class(TTMSFNCCustomControlPicker)
Properties
| Name |
Description |
| AutoCloseUp |
Controls whether the drop-down closes automatically when the completed text matches an item. (inherited from TTMSFNCCustomControlPicker) |
| AutoComplete |
Controls whether typed text is completed from matching hosted items. (inherited from TTMSFNCCustomControlPicker) |
| AutoCompleteDelay |
Specifies the maximum interval used to combine typed characters for autocomplete lookup. (inherited from TTMSFNCCustomControlPicker) |
| AutoCompleteNumChar |
Specifies the minimum number of typed characters before autocomplete lookup starts. (inherited from TTMSFNCCustomControlPicker) |
| AutoDropDown |
Controls whether typing enough characters opens the drop-down automatically. (inherited from TTMSFNCCustomControlPicker) |
| CaseSensitive |
Controls whether filtering and lookup preserve character case. (inherited from TTMSFNCCustomControlPicker) |
| Control |
Gets or sets the visual control hosted by the picker drop-down. (inherited from TTMSFNCCustomControlPicker) |
| Count |
Returns the item count reported by the hosted control. (inherited from TTMSFNCCustomControlPicker) |
| DropDownControlHeight |
Specifies the explicit drop-down height used when height mode is chmDropDownHeight. (inherited from TTMSFNCCustomControlPicker) |
| DropDownControlWidth |
Specifies the explicit drop-down width used when width mode is cwmDropDownWidth. (inherited from TTMSFNCCustomControlPicker) |
| DropDownHeightMode |
Gets or sets the strategy used to calculate the drop-down height. (inherited from TTMSFNCCustomControlPicker) |
| DropDownWidthMode |
Gets or sets the strategy used to calculate the drop-down width. (inherited from TTMSFNCCustomControlPicker) |
| Font |
Gets or sets the font used to draw the collapsed picker text. (inherited from TTMSFNCCustomControlPicker) |
| ItemHeight |
Gets or sets the height used for one hosted item. (inherited from TTMSFNCCustomControlPicker) |
| ItemIndex |
Gets or sets the selected item index in the hosted control. (inherited from TTMSFNCCustomControlPicker) |
| ItemWidth |
Gets or sets the width used for one hosted item. (inherited from TTMSFNCCustomControlPicker) |
| Style |
Gets or sets whether the picker allows text entry or only hosted-control selection. (inherited from TTMSFNCCustomControlPicker) |
| Text |
Gets or sets the text displayed by the collapsed picker. (inherited from TTMSFNCCustomControlPicker) |
Methods
| Name |
Description |
| CallItemClicked |
Applies a hosted-control item click to the picker selection. (inherited from TTMSFNCCustomControlPicker) |
| DropDown |
Opens or closes the drop-down after applying the current size settings. (inherited from TTMSFNCCustomControlPicker) |
| UpdateDropDown |
Refreshes the picker text, toggles the drop-down, and repaints the control. (inherited from TTMSFNCCustomControlPicker) |
| UpdatePickerContent |
Refreshes the collapsed picker text from the hosted control. (inherited from TTMSFNCCustomControlPicker) |
| UpdatePickerDropDownSize |
Recalculates the drop-down width and height. (inherited from TTMSFNCCustomControlPicker) |
Events
| Name |
Description |
| OnAdjustDropDownHeight |
Occurs before the calculated drop-down height is applied. (inherited from TTMSFNCCustomControlPicker) |
| OnAdjustDropDownWidth |
Occurs before the calculated drop-down width is applied. (inherited from TTMSFNCCustomControlPicker) |
| OnAfterDrawPickerContent |
Occurs after the collapsed picker content is drawn. (inherited from TTMSFNCCustomControlPicker) |
| OnBeforeDrawPickerContent |
Occurs before the collapsed picker content is drawn. (inherited from TTMSFNCCustomControlPicker) |
| OnItemSelected |
Occurs after the hosted control reports an item selection. (inherited from TTMSFNCCustomControlPicker) |
| OnSetContent |
Occurs before the hosted control content is assigned to the collapsed picker text. (inherited from TTMSFNCCustomControlPicker) |
Used by