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

TBoundLabel

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

TBoundLabel: A label bound to another object, for example in TLabeledEdit

Declaration

Source position: extctrls.pp line 821

type TBoundLabel = class(TCustomLabel)

public

  constructor Create(); override;

  

Create - constructor for TBoundLabel: calls inherited Create, makes itself a SubComponent to the Owner, and sets its caption to the owner name

  property FocusControl;

  

FocusControl - whether this control has focus

published

  property Caption;

  

The text describing the control to the user.

  property Color;

  

The background color of the control.

  property DragCursor;

  

The cursor shape shown while the control is dragged.

  property DragMode;

  

Allows the user to drag the control.

  property Height;

  

The vertical size of the control.

  property Left;

  

The client coordinate of the left edge of the control.

  property ParentColor;

  

If true, the Color of the control will be the same as the one from the Parent. Default is true.

  property ParentFont;

  

If true, the Font of the control will be the same as the one from the Parent. Default is true.

  property ParentShowHint;

  

If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true.

  property Font;

  property PopupMenu;

  

A context-sensitive menu that pops up when the right mouse button is clicked over this control

  property ShowAccelChar;

  

Underlines the character in the label that acts as an accelerator with a shortcut key.

  property ShowHint;

  

Enables the Hint display.

  property Layout;

  

Vertical alignment of the text (at top, bottom or centered).

  property WordWrap;

  

Allows text to wrap into multiple lines, when the text is too long for the available Width.

  property OnClick;

  

Notification handler for mouse clicks.

  property OnDblClick;

  

Event Handler for double mouse clicks.

  property OnDragDrop;

  

This handler determines the action on an drop onto this control, in a drag-drop operation.

  property OnDragOver;

  

Event handler for a control being dragged over this control.

  property OnEndDrag;

  

Notification handler for the end of a dragging operation.

  property OnMouseDown;

  

Event handler for mouse button going down.

  property OnMouseMove;

  

Event handler for mouse movement within the control.

  property OnMouseUp;

  

Event handler for mouse button going up.

  property OnStartDrag;

  

Event handler for the start of a dragging operation.

end;

Inheritance

TBoundLabel

  

TBoundLabel: A label bound to another object, for example in TLabeledEdit

|

TCustomLabel

  

The base class for TLabel.

|

TGraphicControl

  

TGraphicControl is the base class for all lightweight controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

Description

TBoundLabel: A label bound to another object, for example in TLabeledEdit

See also

TLabeledEdit

  

Labelled Edit: An Edit Box with a permanently attached Label