Sign in Join
FPDoc Onlineexperiment

TCustomAbstractGroupedEdit.Spacing property

Member of TCustomAbstractGroupedEditprotectedIn unit GroupedEdit

Spacing used between the BaseEditor and the Buddy controls.

Declaration

pascal
property Spacing: Integer read GetSpacing write SetSpacing default 0;

Description

Spacing is an Integer property which contains the number of pixels reserved as spacing between the BaseEditor and Buddy controls. The default value for the property is 0, and reserves no space between the controls on the grouped edit control. Changing the value for the property causes the UpdateSpacing method to be called to reposition the Buddy control using the Layout for the grouped edit control.

Use Layout to set the position for the Buddy control relative to the BaseEditor control. Spacing is applied to BaseEditor as BorderSpacing on the edge specified in Layout.

See also

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