[Overview][Types][Classes][Index] Reference for unit 'GroupedEdit' (#lcl)

TCustomAbstractGroupedEdit.Spacing

Spacing used between the BaseEditor and the Buddy controls.

Declaration

Source position: groupededit.pp line 264

protected property TCustomAbstractGroupedEdit.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

TCustomAbstractGroupedEdit.BaseEditor

  

Represents the control used as the editor for the value in the grouped edit control.

TCustomAbstractGroupedEdit.Buddy

  

Represents the associated TControl instance in the grouped edit control.

TCustomAbstractGroupedEdit.Layout

  

Controls the alignment of the edit control and its associate.

TCustomAbstractGroupedEdit.UpdateSpacing

  

Updates border spacing in BaseEditor for the Layout and visibility of the Buddy control.

TControl.BorderSpacing

  

Determines the inner and outer border spacing for this control.


Version 4.0 Generated 2025-05-03 Home