TTMSFNCComboBox.OnGetNumberOfItems Event
Occurs when virtual item mode needs the number of available items.
API unit family: TMSFNCComboBox
Declaring type: TTMSFNCComboBox
Inherited from: TTMSFNCCustomComboBox
Syntax
OnGetNumberOfItems: TTMSFNCComboBoxGetNumberOfItemsEvent;
Remarks
Assigning this event enables virtual item lookup for the drop-down list.
Parameters
| Name | Description |
|---|---|
Sender |
Object that requests the item count. |
ANumberOfItems |
Receives the number of items exposed by the drop-down list. |