Sign in Join
FPDoc Onlineexperiment

TControlChildSizing.OnChange property

Member of TControlChildSizingpublicIn unit Controls

Event handler signalled when the size or layout for child controls has been changed.

Declaration

pascal
property OnChange: TNotifyEvent read FOnChange write FOnChange;

Description

OnChange is a TNotifyEvent property with the event handler signalled (when assigned) from the Change method. It occurs after child controls have been resized and/or realigned.

The Sender argument is the TControlChildSizing instance for the event notification.

In a TWinControl instance, its DoChildSizingChange method is assigned as the default handler routine used in OnChange. It invalidates the preferred sizes for the child controls, and calls their Realign method.

See also

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