Sign in Join
FPDoc Onlineexperiment

TCustomMemo.FinalizeWnd procedure

Member of TCustomMemoprotectedIn unit StdCtrls

Maintains resources in the class instance when the handle for the control is destroyed or re-created.

Declaration

pascal
procedure FinalizeWnd; override

Description

FinalizeWnd ensures that existing string values assigned to the Lines property are captured, stored locally, and freed in the widget class instance before the handle is destroyed or re-created for the control. It ensures that scroll bar information stored in either HorzScrollBar or VertScrollBar is invalidated when the handle is finalized.

FinalizeWnd calls the inherited method prior to exit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.