Class TCustomBoxLabel (unit BoxLabl)

Inherits from

TGraphicControl

Constructors


constructor Create( AOwner:TComponent );



Functions

function GetLabelText:String;


procedure Paint;

Protected declarations

procedure SetLabelText( Value: String );


procedure CMFontChanged(var Message: TMessage);


procedure CMTextChanged(var Message: TMessage);


function GetDouble: Double;

Invalidate;

function GetInteger: Integer;


procedure SetAlignment(Value: TAlignment);


procedure SetBevelInner( Value: TBevelStyle );


procedure SetBevelOuter( Value: TBevelStyle );


procedure SetBevelWidth( Value: Integer );


procedure SetBorderStyle( Value: TBorderStyle );


procedure SetDouble( Value: Double );


procedure SetHAlignment(Value: THorizontalAlignment);


procedure SetInteger( Value: Integer );


procedure SetTextBorder( Value: Integer );


procedure SetWordWrap(Value: Boolean);


Properties

property Align :


property Alignment : TAlignment

Published declarations

property AsFloat : Double


property AsInteger : Integer

Public declarations

property BevelInner : TBevelStyle


property BevelOuter : TBevelStyle


property BevelWidth : Integer


property BorderStyle : TBorderStyle


property Color :


property Decimals : shortint


property DragCursor :


property DragMode :


property Enabled :


property Font :


property FormatString : String


property Height :


property HorizontalAlign : THorizontalAlignment


property ParentColor :


property ParentFont :


property ParentShowHint :


property PopUpMenu :


property TextBorder : Integer


property Visible :


property Width :


property WordWrap : Boolean


property Canvas :


Events

event OnClick :


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


Variables

FAlignment : TAlignment;

Private declarations

FBevelInner : TBevelStyle;


FBevelOuter : TBevelStyle;


FBevelWidth : Integer;


FBorderStyle : TBorderStyle;


FDecimals : shortint;


FFormatString : String;


FHoriAlign : THorizontalAlignment;


FTextBorder : Integer;


FValue : Double;


FWordWrap : Boolean;



Constructors


constructor Create( AOwner:TComponent );


Functions


function GetLabelText:String;


procedure Paint;

Protected declarations


procedure SetLabelText( Value: String );


procedure CMFontChanged(var Message: TMessage);


procedure CMTextChanged(var Message: TMessage);


function GetDouble: Double;

Invalidate;


function GetInteger: Integer;


procedure SetAlignment(Value: TAlignment);


procedure SetBevelInner( Value: TBevelStyle );


procedure SetBevelOuter( Value: TBevelStyle );


procedure SetBevelWidth( Value: Integer );


procedure SetBorderStyle( Value: TBorderStyle );


procedure SetDouble( Value: Double );


procedure SetHAlignment(Value: THorizontalAlignment);


procedure SetInteger( Value: Integer );


procedure SetTextBorder( Value: Integer );


procedure SetWordWrap(Value: Boolean);


Properties


property Align :


property Alignment : TAlignment

Published declarations


property AsFloat : Double


property AsInteger : Integer

Public declarations


property BevelInner : TBevelStyle


property BevelOuter : TBevelStyle


property BevelWidth : Integer


property BorderStyle : TBorderStyle


property Color :


property Decimals : shortint


property DragCursor :


property DragMode :


property Enabled :


property Font :


property FormatString : String


property Height :


property HorizontalAlign : THorizontalAlignment


property ParentColor :


property ParentFont :


property ParentShowHint :


property PopUpMenu :


property TextBorder : Integer


property Visible :


property Width :


property WordWrap : Boolean


property Canvas :


Events


event OnClick :


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


Variables


FAlignment : TAlignment;

Private declarations


FBevelInner : TBevelStyle;


FBevelOuter : TBevelStyle;


FBevelWidth : Integer;


FBorderStyle : TBorderStyle;


FDecimals : shortint;


FFormatString : String;


FHoriAlign : THorizontalAlignment;


FTextBorder : Integer;


FValue : Double;


FWordWrap : Boolean;