Vcl.ComCtrls.TCustomComboBoxEx.DestroyWnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DestroyWnd; override;

C++

virtual void __fastcall DestroyWnd();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomComboBoxEx

Description

Destroys the Windows control that represents the combo box.

DestroyWnd is called when the underlying Windows control needs to be destroyed. In addition to freeing this control when the TCustomComboBoxEx object is destroyed, it can be temporarily destroyed and recreated in order to set properties that require changing the window creation parameters.

DestroyWnd saves the contents of Items list before calling the inherited DestroyWnd method. The saved list is used if the window is recreated.

See Also