[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 346
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. 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. |
|
|
Appearance and behavior of 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 to move through the list. |
|
|
Copies cached control properties to the just created widget. |
|
|
Creates the interface object (widget) and assigns the value in Handle. |
lazarus-ccr.sourceforge.net |