RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.DestroyWnd Method

Destroys the Windows control that corresponds to the edit control.

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

The Windows control for the edit box can be temporarily destroyed and recreated in order to set properties that require changing the window creation parameters. When this happens, DestroyWnd is called. 

Before the window is destroyed, DestroyWnd saves a copy of any properties that are needed to recreate the window after it is destroyed. 

 

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