RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.DestroyWnd Method

Saves the list box items in a string list before freeing the underlying Windows control.

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

DestroyWnd saves the list box text string items in the Items property to internal storage in a TStringList object that it creates. It then calls the inherited DestroyWnd method to destroy the windowed control's window handle and free associated device contexts. 

 

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