Class TButtonImage (unit RXCtrls)

Inherits from

TObject

TButtonImage

Constructors


constructor Create;

TButtonImage


Functions

destructor Destroy;


procedure Draw(Canvas: TCanvas; X, Y, Margin, Spacing: Integer; Layout: TButtonLayout; AFont: TFont);


function GetAlignment: TAlignment;


function GetGlyph: TBitmap;


function GetNumGlyphs: TRxNumGlyphs;


function GetWordWrap: Boolean;


procedure SetAlignment(Value: TAlignment);


procedure SetGlyph(Value: TBitmap);


procedure SetNumGlyphs(Value: TRxNumGlyphs);


procedure SetWordWrap(Value: Boolean);


Properties

property Alignment : TAlignment


property ButtonSize : TPoint


property Caption : TCaption


property Glyph : TBitmap


property NumGlyphs : TRxNumGlyphs


property WordWrap : Boolean


Events

Variables

FButtonSize : TPoint;


FCaption : TCaption;


FGlyph : TObject;



Constructors


constructor Create;

TButtonImage


Functions


destructor Destroy;


procedure Draw(Canvas: TCanvas; X, Y, Margin, Spacing: Integer; Layout: TButtonLayout; AFont: TFont);


function GetAlignment: TAlignment;


function GetGlyph: TBitmap;


function GetNumGlyphs: TRxNumGlyphs;


function GetWordWrap: Boolean;


procedure SetAlignment(Value: TAlignment);


procedure SetGlyph(Value: TBitmap);


procedure SetNumGlyphs(Value: TRxNumGlyphs);


procedure SetWordWrap(Value: Boolean);


Properties


property Alignment : TAlignment


property ButtonSize : TPoint


property Caption : TCaption


property Glyph : TBitmap


property NumGlyphs : TRxNumGlyphs


property WordWrap : Boolean


Events


Variables


FButtonSize : TPoint;


FCaption : TCaption;


FGlyph : TObject;