Sign in Join
FPDoc Onlineexperiment

TControl.BoundsRect property

Member of TControlpublicIn unit Controls

The Top, Left and Bottom, Right for the control, in client coordinates.

Declaration

pascal
property BoundsRect: TRect read GetBoundsRect write SetBoundsRect;

Description

The BoundsRect rectangle describes the Top, Left and Bottom, Right coordinates for the control, relative to its parent.

The values are based on the Top, Left, Width and Height properties of the control.

Set BoundsRect to move and/or resize the control. This can reduce flicker, occurring otherwise when Top, Width etc. are set individually.

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