RAD Studio VCL Reference
TCustomListBox.DestroyWnd Method

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

procedure DestroyWnd; override;
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!