Vcl.StdCtrls.TCustomEdit.DestroyWnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DestroyWnd; override;

C++

virtual void __fastcall DestroyWnd();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Destroys the Windows control that corresponds to the edit control.

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.

See Also