TCustomComboBox.DestroyWnd procedure
Destroys the handle for the control (and its children).
Declaration
procedure DestroyWnd; overrideDescription
DestroyWnd is an overridden method in
TCustomComboBox
used to destroy the handle for the windowed control. This occurs when the
control is freed, and when the handle is re-created in the widgetset class.
DestroyWnd ensures that values for the ItemIndex and Items properties are
retrieved from the widgetset class before it is destroyed or re-created. The
value in Sorted is applied to the Items retrieved from the widgetset class.
DestroyWnd calls the inherited method prior to exit to finalize the window handle for the control.
Errors
DestroyWnd calls
RaiseGDBException to raise a catchable debugger
exception if a handle has not been allocated for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
