[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomLabeledEdit.LabelSpacing

Number of pixels between the control and its bound label.

Declaration

Source position: extctrls.pp line 1012

public property TCustomLabeledEdit.LabelSpacing : Integer
  read FLabelSpacing
  write SetLabelSpacing
  default 3;

Description

LabelSpacing is an Integer property with the number of pixels used as a spacer between the edit control and its bound label in EditLabel. The default value for the property is 3.

Changing the value for the property causes EditLabel to be repositioned and anchored to the edit control. The value is added as border spacing for the anchored control in the DoPositionLabel method.

Use LabelPosition to specify the edge on the control where EditLabel is aligned.

See also

TCustomLabeledEdit.LabelPosition

  

Edge on the edge control where the bound label is aligned.

TCustomLabeledEdit.EditLabel

  

EditLabel - the label attached to the edit box.

TCustomLabeledEdit.DoPositionLabel

  

DoPositionLabel - perform the code for positioning the label.

TBoundLabel

  

Implements a label bound to another control.


Version 3.2 Generated 2024-02-25 Home