RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomComboBoxEx.DestroyWnd Method

Destroys the Windows control that represents the combo box.

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

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!