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

TCustomLabeledEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Custom Labelled Edit

Declaration

Source position: extctrls.pp line 932

type TCustomLabeledEdit = class(TCustomEdit) end;

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  procedure SetParent(); override;

  procedure SetName(); override;

  procedure Loaded; override;

  procedure DoPositionLabel; virtual;

  

DoPositionLabel - perform the code for positioning the label

  procedure Notification(); override;

  

  procedure CMBiDiModeChanged(); message;

  procedure CMVisibleChanged(); message;

  

Handler for changed Visible message. Handles Focus, forces UpdateControlState.

  procedure CMEnabledChanged(); message;

  

Handler for changed Enabled message. Notifies the widgetset.

  procedure CreateInternalLabel; virtual;

  

CreateInternalLabel - method for internally creating label

public

  constructor Create(); override;

  

Create - constructor for TCustomLabeledEdit: calls inherited Create then sets initial position and label spacing

  property EditLabel: TBoundLabel; [r]

  

EditLabel - the label attached to the edit box

  property LabelPosition: TLabelPosition; [rw]

  

LabelPosition - whether above, below, to the left or to the right of the Edit box

  property LabelSpacing: Integer; [rw]

  

LabelSpacing - the distance between the Label and the Edit box

Inheritance

TCustomLabeledEdit

  

Custom Labelled Edit

|

TCustomEdit

  

The base class for controls presenting editable text.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

Description

TCustomLabeledEdit : The base type for LabeledEdit.

Note particularly the EditLabel property (see TBoundLabel), which contains the label attached to the Edit control.

See also

TCustomEdit

  

The base class for controls presenting editable text.

TCustomLabel

  

The base class for TLabel.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.