[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Synchronizes the control and its widgetset class instance when the handle is created.
Source position: stdctrls.pp line 345
protected procedure TCustomComboBox.InitializeWnd; override; |
InitializeWnd is overridden in TCustomComboBox to ensure that the widgetset class and the current class instance are synchronized. InitializeWnd calls the inherited method on entry.
InitializeWnd gets the string values for list items stored in the widgetset class instance (when present), and applies them to the Items property. The Sorted property in the control is applied to the list items provided by the widget.
Other property values are forwarded to the widgetset class instance, including:
Values in SelStart and SelLength are re-applied to update the edit box in the control to reflect any changes to property values.
InitializeWnd is called from CreateWnd after the Window handle has been allocated, and before any child handles are allocated.
|
The list of items displayed in the combo-box control. |
|
|
The index of the currently selected item, or -1 if none is selected. |
|
|
Controls the appearance and behavior for the combo-box. |
|
|
Disallows free-form entry of Text into the combo-box edit field. |
|
|
The maximum length for text entered in the edit box for the control. |
|
|
The maximum number of Items visible in the drop-down list for the control. |
|
|
Indicates if keyboard Arrow (or cursor) keys can be used to move through the list. |
|
|
Copies cached control properties to the newly created widget. |
|
|
Creates the interface object (widget) and assigns the value in Handle. |
Version 3.2 | Generated 2024-02-25 | Home |