[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TDBText - a data-aware text component to display a single text-string from a dataset
Source position: dbctrls.pp line 263
type TDBText = class(TCustomLabel) end; |
||
protected |
||
procedure Notification(); override; |
||
class procedure WSRegisterClass; override; |
||
procedure Loaded; override; |
||
public |
||
constructor Create(); override; |
|
Create - constructor for TDBText: calls inherited Create then forms data links and actions |
destructor Destroy; override; |
|
Destroy - destructor for TDBText: frees data links then calls inherited Destroy |
function ExecuteAction(); override; |
||
function UpdateAction(); override; |
||
property Field: TField; [r] |
|
The field in the DataSet to which this control is to be linked. Can be referred to by name, or as an index |
published |
||
|
Specifies the placement of the control inside its Parent. |
|
property Alignment: TAlignment; |
|
Horizontal text justification (centered, left- or right-justified). |
|
The set of anchor definitions for this control. |
|
property AutoSize: Boolean; |
|
Allows to automatically adjust the size of the control, according to its content. |
property BidiMode: TBiDiMode; |
||
property BorderSpacing: TControlBorderSpacing; |
||
|
The background color of the control. |
|
property Constraints: TSizeConstraints; |
||
property DataField: string; [rw] |
|
The name of the field, as a string (ie cannot be referred to as an Index) |
property DataSource: TDataSource; [rw] |
|
The DataSource from which information is obtained to display in this control. Usually the result of a SQLQuery |
property DragCursor: TCursor; |
|
The cursor shape shown while the control is dragged. |
|
Allows the user to drag the control. |
|
property Enabled: Boolean; |
||
property FocusControl: TWinControl; |
|
The control associated with the label and its accelerator key (AccelChar). |
|
The font to be used for text display in this control. |
|
property Layout: TTextLayout; |
||
property ParentBidiMode: Boolean; |
||
property ParentColor: Boolean; |
||
property ParentFont: Boolean; |
||
property ParentShowHint: Boolean; |
||
property PopupMenu: TPopupMenu; |
||
property ShowAccelChar: Boolean; |
|
Underlines the character in the label that acts as an accelerator with a shortcut key. |
property ShowHint: Boolean; |
||
property Transparent: Boolean; |
||
property Visible: Boolean; |
|
Allows to show or hide the control, and all of its children. |
property WordWrap: Boolean; |
|
Allows text to wrap into multiple lines, when the text is too long for the available Width. |
property OnClick: TNotifyEvent; |
||
property OnDblClick: TNotifyEvent; |
||
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; |
||
property OnMouseEnter: TNotifyEvent; |
||
property OnMouseLeave: TNotifyEvent; |
||
property OnMouseMove: TMouseMoveEvent; |
||
property OnMouseUp: TMouseEvent; |
||
property OnMouseWheel: TMouseWheelEvent; |
||
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
||
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
||
property OnChangeBounds: TNotifyEvent; |
||
property OnContextPopup: TContextPopupEvent; |
||
property OnResize: TNotifyEvent; |
||
property OnStartDrag: TStartDragEvent; |
|
Event handler for the start of a dragging operation. |
property OptimalFill: Boolean; |
||
|
TDBText - a data-aware text component to display a single text-string from a dataset |
|
| | ||
|
The base class for TLabel. |
|
| | ||
|
TGraphicControl is the base class for all lightweight controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
|
HowToUseDataAwareControls - Hints for accessing databases |
lazarus-ccr.sourceforge.net |