API:Vcl.ComCtrls.TCustomRichEdit.DestroyWnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DestroyWnd; override;

C++

virtual void __fastcall DestroyWnd(void);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Destroys the Windows control that corresponds to the edit control.

Vcl.ComCtrls.TCustomRichEdit.DestroyWnd inherits from Vcl.StdCtrls.TCustomEdit.DestroyWnd. All content below this line refers to Vcl.StdCtrls.TCustomEdit.DestroyWnd.

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