Unit 'StdCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomMemo.FinalizeWnd

Frees resources when the handle for the control is freed.

Declaration

Source position: stdctrls.pp line 915

protected procedure TCustomMemo.FinalizeWnd; override;

Description

FinalizeWnd ensures that string values in Lines are freed in the widgetset class before the handle is destroyed for the control. Existing text (and objects) are copied, and assigned to the member variable for Lines after the widgetset class has been notified.

FinalizeWnd calls the inherited method proper to exit.

See also

TCustomMemo.Lines

  

Contains the individual lines of text in the multi-line edit control.

TWinControl.FinalizeWnd

  

Prepares to remove the window (called before the Handle is destroyed).