Sign in Join
FPDoc Onlineexperiment

TControlChildSizing.Control property

Member of TControlChildSizingpublicIn unit Controls

The Control where the class instance is used.

Declaration

pascal
property Control: TWinControl read FControl;

Description

Control is a read-only TWinControl property which contains a reference to the control where the TControlChildSizing is used. Its value is passed as the OwnerControl argument in the Create constructor. Control provides access to properties and methods in the parent control used to resize and/or realign its child controls. This occurs in the Change method when property value(s) in the class instance have been changed.

Control can also be used in the OnChange event handler as needed, but will likely need to be cast to a descendant class type to access it implementation-specific properties and methods.

See also

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