[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handler invoked when widgetset items list can be populated.
Source position: stdctrls.pp line 400
protected property TCustomComboBox.OnGetItems : TNotifyEvent |
OnGetItems is a TNotifyEvent property with the event handler signalled to load the values used in the Items property.
OnGetItems is signalled (when assigned) from the GetItems method. Some widgetsets, like GTK, call GetItems (via IntfGetItems) just before the drop-down list is displayed. Others call GetItems when the handle for the control is created. OnGetItems provides one event to handle both cases.
An application should implement and assign an object procedure to the handler to respond to the event notification. The procedure must perform any actions needed to load the values for the Items property from an appropriate source.
Values can always be stored in the Items property using code at run-time, or by entering the values using the Object Inspector at design-time.
|
Signals the OnGetItems event handler. |
|
|
The list of items displayed in the combo-box control. |
|
|
Gets the values in the Items property for the widgetset class. |
|
Version 3.2 | Generated 2024-02-25 | Home |