RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomComboBox.DestroyWnd Method

Destroys the Windows control that represents the combo box.

Pascal
procedure DestroyWnd; override;
C++
virtual __fastcall DestroyWnd();

The Windows control for the combo box can be temporarily destroyed and recreated in order to set properties that require changing the window creation parameters. TCustomComboBox calls DestroyWnd to destroy this Windows control when necessary. 

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!