Class TEnhLabel (unit Ef_Edit)

Inherits from

TLabel

Constructors


constructor Create(AOwner: TComponent);



Functions

procedure Click;


procedure CMColorChanged(var Msg:TMessage);


procedure CMFontChanged(var Msg:TMessage);


procedure CMTextChanged(var Msg:TMessage);

NB: CM_xxx constants are defined in Controls.

procedure DoNewBounds;


procedure SetBounds(ALeft,ATop,AWidth,AHeight:Integer);


procedure SetDisabled(SetOn:Boolean);

Modifies the method so that the focus control receives the focus when the label is clicked

procedure SetDisabledColor(AColor:TColor);


Properties

property DisabledColor : TColor


property Disabled : Boolean

Properties used by labeled input controls

Events

event OnNewBounds : TNotifyEvent

use instead of Enabled

Variables

FDisabled : Boolean;


FDisabledColor : TColor;


FKeepColor : TColor;


FOnNewBounds : TNotifyEvent;



Constructors


constructor Create(AOwner: TComponent);


Functions


procedure Click;


procedure CMColorChanged(var Msg:TMessage);


procedure CMFontChanged(var Msg:TMessage);


procedure CMTextChanged(var Msg:TMessage);

NB: CM_xxx constants are defined in Controls.pas


procedure DoNewBounds;


procedure SetBounds(ALeft,ATop,AWidth,AHeight:Integer);


procedure SetDisabled(SetOn:Boolean);

Modifies the method so that the focus control receives the focus when the label is clicked


procedure SetDisabledColor(AColor:TColor);


Properties


property DisabledColor : TColor


property Disabled : Boolean

Properties used by labeled input controls


Events


event OnNewBounds : TNotifyEvent

use instead of Enabled


Variables


FDisabled : Boolean;


FDisabledColor : TColor;


FKeepColor : TColor;


FOnNewBounds : TNotifyEvent;