[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates the interface object (widget) and assigns the value in Handle.
Source position: controls.pp line 2301
protected procedure TWinControl.CreateWnd; virtual; |
Raises a catchable debugger exception for various conditions, including:
Ensures that the realized bounds for the control is reset prior to creating the Handle for the control and any child Controls. An EInvalidOperation exception is raised if the handle for the Parent control is not valid when the method is called.
Calls the InvalidatePreferredSize method for the control, and any child controls, and calls AdjustSize. If an error occurred while creating the Handle, auto-sizing is not enabled for the control.
CreateWnd is called from the CreateHandle method.
|
Creates the Handle for the widget, if not already created. |
Version 3.2 | Generated 2024-02-25 | Home |