Class TRxSpeedButton (unit RXCtrls)

Inherits from

TGraphicControl

TRxSpeedButton

Constructors


constructor Create(AOwner: TComponent);

TRxSpeedButton


Functions

procedure ButtonClick;


function CheckBtnMenuDropDown: Boolean;


procedure Click;


destructor Destroy;


procedure UpdateTracking;


function GetPalette: HPALETTE;


procedure Loaded;


procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);


procedure MouseMove(Shift: TShiftState; X, Y: Integer);

PeekMessage(Msg, 0, 0, 0, PM_REMOVE);

procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);


procedure Notification(AComponent: TComponent; Operation: TOperation);


procedure Paint;


function CheckMenuDropDown(const Pos: TSmallPoint; Manual: Boolean): Boolean;

dmpRight

procedure CMButtonPressed(var Message: TMessage);


procedure CMDialogChar(var Message: TCMDialogChar);


procedure CMEnabledChanged(var Message: TMessage);


procedure CMFontChanged(var Message: TMessage);


procedure CMMouseEnter(var Message: TMessage);


procedure CMMouseLeave(var Message: TMessage);


procedure CMSysColorChange(var Message: TMessage);


procedure CMTextChanged(var Message: TMessage);


procedure CMVisibleChanged(var Message: TMessage);


procedure DoMouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);


function GetAlignment: TAlignment;


function GetGlyph: TBitmap;


function GetNumGlyphs: TRxNumGlyphs;


function GetWordWrap: Boolean;


procedure GlyphChanged(Sender: TObject);


procedure SetAlignment(Value: TAlignment);


procedure SetAllowAllUp(Value: Boolean);


procedure SetAllowTimer(Value: Boolean);


procedure SetDown(Value: Boolean);


procedure SetDropDownMenu(Value: TPopupMenu);


procedure SetFlat(Value: Boolean);


procedure SetGlyph(Value: TBitmap);


procedure SetGroupIndex(Value: Integer);


procedure SetInactiveGrayed(Value: Boolean);


procedure SetLayout(Value: TButtonLayout);


procedure SetMargin(Value: Integer);


procedure SetMarkDropDown(Value: Boolean);


procedure SetNumGlyphs(Value: TRxNumGlyphs);


procedure SetSpacing(Value: Integer);


procedure SetStyle(Value: TButtonStyle);


procedure SetTransparent(Value: Boolean);


procedure SetWordWrap(Value: Boolean);


procedure TimerExpired(Sender: TObject);


procedure UpdateExclusive;


procedure WMLButtonDblClk(var Message: TWMLButtonDown);


procedure WMMouseMove(var Message: TMessage);


procedure WMRButtonDown(var Message: TWMRButtonDown);


procedure WMRButtonUp(var Message: TWMRButtonUp);


Properties

property Alignment : TAlignment


property AllowAllUp : Boolean


property AllowTimer : Boolean


property Caption :


property Down : Boolean

Ensure group index is declared before Down

property DragCursor :


property DragMode :


property DropDownMenu : TPopupMenu


property Enabled :


property Flat : Boolean


property Font :


property Glyph : TBitmap


property GrayedInactive : Boolean


property GroupIndex : Integer


property InitPause : Word


property Layout : TButtonLayout


property Margin : Integer


property MarkDropDown : Boolean


property MenuPosition : TRxDropDownMenuPos


property ModalResult : TModalResult


property NumGlyphs : TRxNumGlyphs


property ParentFont :


property ParentShowHint :


property RepeatInterval : Word


property ShowHint :


property Spacing : Integer


property Style : TButtonStyle


property Transparent : Boolean


property Visible :


property WordWrap : Boolean


Events

event OnClick :


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


event OnStartDrag :


Variables

FState : TRxButtonState;


FAllowAllUp : Boolean;


FAllowTimer : Boolean;


FDown : Boolean;


FDragging : Boolean;


FDrawImage : TBitmap;


FDropDownMenu : TPopupMenu;


FFlat : Boolean;


FGlyph : Pointer;


FGroupIndex : Integer;


FInactiveGrayed : Boolean;


FInitRepeatPause : Word;


FLayout : TButtonLayout;


FMargin : Integer;


FMarkDropDown : Boolean;


FMenuPosition : TRxDropDownMenuPos;


FMenuTracking : Boolean;


FModalResult : TModalResult;


FMouseInControl : Boolean;


FRepeatPause : Word;


FRepeatTimer : TTimer;


FSpacing : Integer;


FStyle : TButtonStyle;


FTransparent : Boolean;



Constructors


constructor Create(AOwner: TComponent);

TRxSpeedButton


Functions


procedure ButtonClick;


function CheckBtnMenuDropDown: Boolean;


procedure Click;


destructor Destroy;


procedure UpdateTracking;


function GetPalette: HPALETTE;


procedure Loaded;


procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);


procedure MouseMove(Shift: TShiftState; X, Y: Integer);

PeekMessage(Msg, 0, 0, 0, PM_REMOVE);


procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);


procedure Notification(AComponent: TComponent; Operation: TOperation);


procedure Paint;


function CheckMenuDropDown(const Pos: TSmallPoint; Manual: Boolean): Boolean;

dmpRight


procedure CMButtonPressed(var Message: TMessage);


procedure CMDialogChar(var Message: TCMDialogChar);


procedure CMEnabledChanged(var Message: TMessage);


procedure CMFontChanged(var Message: TMessage);


procedure CMMouseEnter(var Message: TMessage);


procedure CMMouseLeave(var Message: TMessage);


procedure CMSysColorChange(var Message: TMessage);


procedure CMTextChanged(var Message: TMessage);


procedure CMVisibleChanged(var Message: TMessage);


procedure DoMouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);


function GetAlignment: TAlignment;


function GetGlyph: TBitmap;


function GetNumGlyphs: TRxNumGlyphs;


function GetWordWrap: Boolean;


procedure GlyphChanged(Sender: TObject);


procedure SetAlignment(Value: TAlignment);


procedure SetAllowAllUp(Value: Boolean);


procedure SetAllowTimer(Value: Boolean);


procedure SetDown(Value: Boolean);


procedure SetDropDownMenu(Value: TPopupMenu);


procedure SetFlat(Value: Boolean);


procedure SetGlyph(Value: TBitmap);


procedure SetGroupIndex(Value: Integer);


procedure SetInactiveGrayed(Value: Boolean);


procedure SetLayout(Value: TButtonLayout);


procedure SetMargin(Value: Integer);


procedure SetMarkDropDown(Value: Boolean);


procedure SetNumGlyphs(Value: TRxNumGlyphs);


procedure SetSpacing(Value: Integer);


procedure SetStyle(Value: TButtonStyle);


procedure SetTransparent(Value: Boolean);


procedure SetWordWrap(Value: Boolean);


procedure TimerExpired(Sender: TObject);


procedure UpdateExclusive;


procedure WMLButtonDblClk(var Message: TWMLButtonDown);


procedure WMMouseMove(var Message: TMessage);


procedure WMRButtonDown(var Message: TWMRButtonDown);


procedure WMRButtonUp(var Message: TWMRButtonUp);


Properties


property Alignment : TAlignment


property AllowAllUp : Boolean


property AllowTimer : Boolean


property Caption :


property Down : Boolean

Ensure group index is declared before Down


property DragCursor :


property DragMode :


property DropDownMenu : TPopupMenu


property Enabled :


property Flat : Boolean


property Font :


property Glyph : TBitmap


property GrayedInactive : Boolean


property GroupIndex : Integer


property InitPause : Word


property Layout : TButtonLayout


property Margin : Integer


property MarkDropDown : Boolean


property MenuPosition : TRxDropDownMenuPos


property ModalResult : TModalResult


property NumGlyphs : TRxNumGlyphs


property ParentFont :


property ParentShowHint :


property RepeatInterval : Word


property ShowHint :


property Spacing : Integer


property Style : TButtonStyle


property Transparent : Boolean


property Visible :


property WordWrap : Boolean


Events


event OnClick :


event OnDblClick :


event OnDragDrop :


event OnDragOver :


event OnEndDrag :


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


event OnStartDrag :


Variables


FState : TRxButtonState;


FAllowAllUp : Boolean;


FAllowTimer : Boolean;


FDown : Boolean;


FDragging : Boolean;


FDrawImage : TBitmap;


FDropDownMenu : TPopupMenu;


FFlat : Boolean;


FGlyph : Pointer;


FGroupIndex : Integer;


FInactiveGrayed : Boolean;


FInitRepeatPause : Word;


FLayout : TButtonLayout;


FMargin : Integer;


FMarkDropDown : Boolean;


FMenuPosition : TRxDropDownMenuPos;


FMenuTracking : Boolean;


FModalResult : TModalResult;


FMouseInControl : Boolean;


FRepeatPause : Word;


FRepeatTimer : TTimer;


FSpacing : Integer;


FStyle : TButtonStyle;


FTransparent : Boolean;