[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 889

type TBoundLabel = class(TCustomLabel) end;

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: TWinControl;

  

FocusControl - whether this control has focus

published

  property Caption: TCaption;

  

The text describing the control to the user.

  property Color: TColor;

  

The background color of the control.

  property DragCursor: TCursor;

  

The cursor shape shown while the control is dragged.

  property DragMode: TDragMode;

  

Allows the user to drag the control.

  property Height: Integer;

  

The vertical size of the control.

  property Left: Integer;

  

The client coordinate of the left edge of the control.

  property ParentColor: Boolean;

  

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

  property ParentFont: Boolean;

  

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

  property ParentShowHint: Boolean;

  

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

  property Font: TFont;

  property PopupMenu: TPopupMenu;

  

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

  property ShowAccelChar: Boolean;

  

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

  property ShowHint: Boolean;

  

Enables the Hint display.

  property Layout: TTextLayout;

  

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

  property WordWrap: Boolean;

  

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

  property OnClick: TNotifyEvent;

  

Notification handler for mouse clicks.

  property OnDblClick: TNotifyEvent;

  

Event Handler for double mouse clicks.

  property OnDragDrop: TDragDropEvent;

  

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

  property OnDragOver: TDragOverEvent;

  

Event handler for a control being dragged over this control.

  property OnEndDrag: TEndDragEvent;

  

Notification handler for the end of a dragging operation.

  property OnMouseDown: TMouseEvent;

  

Event handler for mouse button going down.

  property OnMouseEnter: TNotifyEvent;

  property OnMouseLeave: TNotifyEvent;

  property OnMouseMove: TMouseMoveEvent;

  

Event handler for mouse movement within the control.

  property OnMouseUp: TMouseEvent;

  

Event handler for mouse button going up.

  property OnMouseWheel: TMouseWheelEvent;

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  property OnStartDrag: TStartDragEvent;

  

Event handler for the start of a dragging operation.

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

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