[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TLabel : a brief text label to be placed in the Form near any object that needs to be identified.
Source position: stdctrls.pp line 1445
type TLabel = class(TCustomLabel) |
||
published |
||
property Align; |
|
Used to align the control to the top, bottom, left or right of its client. |
property Alignment; |
|
Alignment - whether text is centered, left- or right-justified |
property Anchors; |
|
The set of anchor definitions for this control |
property AutoSize; |
|
Whether auto-size is to be used |
property BidiMode; |
|
BiDiMode - enabling bi-directional writing |
property BorderSpacing; |
|
Determines the border spacing for this control |
property Caption; |
|
Caption - the text-string appearing on the Control, usually used to identify its function |
property Color; |
|
Determine the colour for the current control |
property Constraints; |
|
Determine Constraints (max and min height and width) for this control |
property DragCursor; |
|
DragCursor - the style of cursor to be used during the Drag process |
property DragKind; |
|
DragKind - what sort of dragging? Drag or Dock |
property DragMode; |
|
DragMode - whether manual or automatic |
property Enabled; |
|
Whether the control is Enabled (read/write). If not, it usually appears 'greyed-out' |
property FocusControl; |
|
FocusControl - which control has focus |
property Font; |
|
The font to be used for text in this control (read/write). |
property Layout; |
|
Layout - How the Text is to be laid out in the text rectangle: at the Bottom, Centre or Top |
property ParentBidiMode; |
|
ParentBiDiMode - does the control follow the BiDiMode settings of its parent? |
property ParentColor; |
|
ParentColor - should the control have the same colour as the parent? Default is true |
property ParentFont; |
|
ParentFont - should the control use the same font as the parent? Default is true |
property ParentShowHint; |
|
ParentShowHint - does the control adopt the same hinting behaviour as its parent? Default is true |
property PopupMenu; |
|
PopupMenu - a context-sensitive menu that pops up when the right mouse button is clicked over this control |
property ShowAccelChar; |
|
ShowAccelChar - underline the character in the label that acts as an accelerator with a shortcut key |
property ShowHint; |
|
Flag to determine: Is hint to be displayed for this control? |
property Transparent; |
|
Transparent - whether the viewer can see through the control. Default True |
property Visible; |
|
Visible - can the control be seen? |
property WordWrap; |
|
WordWrap - whether a word is to be wrapped to the next line if the text is about to become too long for the width available |
property OnClick; |
|
Event Handler for mouse click |
property OnDblClick; |
|
Event Handle for mouse double-click |
property OnDragDrop; |
|
Event handler for the drop of a control onto this control. |
property OnDragOver; |
|
Event handler for the case when a control is dragged over another control |
property OnEndDrag; |
|
Event handler for the end of a dragging process |
property OnMouseDown; |
|
Event handler for when a mouse button is pressed down |
property OnMouseMove; |
|
Event handler for mouse movement within the current control |
property OnMouseUp; |
|
Event handler for when the mouse button is released, ie "up" |
property OnMouseEnter; |
|
Event handler for when the mouse enters the area of the current control |
property OnMouseLeave; |
|
Event handler for when the mouse leaves the area of the current control |
property OnChangeBounds; |
|
Event handler for a change in bounds of the control |
property OnContextPopup; |
|
Event handler to supply information when a context-sensitive pop-up menu is required |
property OnResize; |
|
Event Handler for resize of control |
property OnStartDrag; |
|
Event handler for start of dragging operation |
property OptimalFill; |
|
OptimalFill - boolean. If True, font size is adjusted for optimal fill of available space |
end; |
|
TLabel : a brief text label to be placed in the Form near any object that needs to be identified. |
|
| | ||
|
TCustomLabel : the base type from which TLabel is derived. |
|
| | ||
|
TGraphicControl is the base class for all lightweight controls. |
|
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
|
How to use StdCtrls, ComCtrls or ExtCtrls |
lazarus-ccr.sourceforge.net |