| Class TFitLabel (unit FitLabel) |
TLabel
| Constructors |
constructor Create(AOwner : TComponent);----------------------------------------------------------------------
| Functions |
Procedure Paint;----------------------------------------------------------------------
Procedure DrawLabelText(var Rect : TRect; Flags : Word);Sometimes you see the keyword 'invalidate' in routines like this, but what does it do?*) End; {----------------------------------------------------------------------
Procedure SetXAspectRatio(Value : Word);
Procedure SetYAspectRatio(Value : Word);Sometimes you see the keyword 'invalidate' in routines like this, but what does it do?*) End; {----------------------------------------------------------------------
| Properties |
property Alignment : TAlignment
property AutoSize : Boolean
property Layout : TTextLayout
property XAspectRatio : word
property YAspectRatio : word| Events |
| Variables |
FAlignment : TAlignment;
FAutoSize : Boolean;
FLayout : TTextLayout;
FXAspectRatio : Word;
FYAspectRatio : Word;| Constructors |
constructor Create(AOwner : TComponent);Public declarations
----------------------------------------------------------------------
| Functions |
Procedure Paint;Protected declarations
----------------------------------------------------------------------
Procedure DrawLabelText(var Rect : TRect; Flags : Word);Publish, will be shown in ObjectInspector
Sometimes you see the keyword 'invalidate' in routines like this, but what does it do?*) End; {----------------------------------------------------------------------
Procedure SetXAspectRatio(Value : Word);----------------------------------------------------------------------
Procedure SetYAspectRatio(Value : Word);You can change its value in the ObjectInspector
Sometimes you see the keyword 'invalidate' in routines like this, but what does it do?*) End; {----------------------------------------------------------------------
| Properties |
property Alignment : TAlignment
property AutoSize : BooleanPublished declarations
property Layout : TTextLayout
property XAspectRatio : wordInherited anyway property Color; property Cursor; property DragCursor; property DragMode; property Enabled; property Hint; property ParentColor; property ParentFont; property Font; property ShowHint;
property YAspectRatio : wordI don't know why I can set the default here, the ObjectInspector shows a '0' anyway
| Events |
| Variables |
FAlignment : TAlignment;
FAutoSize : Boolean;Private declarations } {The next values normally show up in the ObjectInspector are made read-only, so the will not be shown in the ObjectInspector
FLayout : TTextLayout;
FXAspectRatio : Word;These values are normally NOT in the ObjectInspector
FYAspectRatio : Word;Publish, wil be shownn in ObjectInspector