Sign in Join
FPDoc Onlineexperiment

TCustomMemo.InitializeWnd procedure

Member of TCustomMemoprotectedIn unit StdCtrls

Copies existing string values from the widgetset class.

Declaration

pascal
procedure InitializeWnd; override

Description

InitializeWnd is an overridden method in TCustomMemo. InitializeWnd ensures that property values from widgetset class are stored in the current class instance when handle for the control is created (or re-created). InitializeWnd is called after the handle for the control was created, but before the handle for child controls is created.

InitializeWnd ensures that string values in the widgetset class (if any) are copied to a new TStrings instance and assigned to the Lines property. The previous TStrings instance in Lines is freed.

InitializeWnd calls the inherited method prior to exit.

See also

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