Sign in Join
FPDoc Onlineexperiment

TControlBorderSpacing.ControlWidth property

Member of TControlBorderSpacingpublicIn unit Controls

Total width for the control including border spacing values in Around, Left, and Right.

Declaration

pascal
property ControlWidth: Integer read GetControlWidth;

Description

ControlWidth is a read-only Integer property that contains the total width for the control including spacing values in the Around, Left, and Right properties. The property value is calculated using the following formula:

Control.Width + (2 * Around) + Left + Right

If a TControl instance is not available in Control, the value for the property is 0 (zero).

See also

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