Sign in Join
FPDoc Onlineexperiment

TControlChildSizing.SetGridSpacing procedure

Member of TControlChildSizingpublicIn unit Controls

Sets spacing properties in the class instance to the specified value.

Declaration

pascal
procedure SetGridSpacing(Spacing: Integer)

Arguments

Spacing

Integer value applied to each of the spacing properties.

Description

SetGridSpacing is a convenience method used to set the values for the spacing properties to a uniform value. The properties are used when child controls are arranged into rows and columns when the Layout property has a value other than cclNone.

The value in the Spacing argument is stored to the following properties:

  • LeftRightSpacing
  • TopBottomSpacing
  • HorizontalSpacing
  • VerticalSpacing

See also

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