Skip to main content
Table of Contents

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

FMX.TMSFNCComboBox.hppPascalC++
OnGetNumberOfItems: TTMSFNCComboBoxGetNumberOfItemsEvent;
__property TTMSFNCComboBoxGetNumberOfItemsEvent OnGetNumberOfItems = {read=FOnGetNumberOfItems, write=SetOnGetNumberOfItems};

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.