Skip to main content

TdxBarButtonControl Members

A button control on the toolbar.

Constructors

Name Description
Create(TdxBarItemLink) Creates an instance of the TdxBarItemControl class. Inherited from TdxBarItemControl.

Properties

Name Description
BarManager Provides access to a bar manager to which the item control belongs. Inherited from TdxBarItemControl.
ButtonItem Provides access to a bar button to which the button control is linked.
Caption protected Specifies the item control’s caption. Inherited from TdxBarItemControl.
Down protected Determines whether the button control has a sunken appearance.
DropDownEnabled protected Determines whether a dropdown menu can be activated.
DroppedDown protected Specifies whether a dropdown window is active.
Enabled Determines whether an item control responds to mouse, keyboard, and timer events. Inherited from TdxBarItemControl.
Focused Inherited from TdxBarItemControl.
Glyph protected Returns the item control’s glyph. Inherited from TdxBarItemControl.
GroupIndex protected Determines the index of the group to which a button belongs.
Hint protected Returns the item control’s hint text. Inherited from TdxBarItemControl.
IsActive Specifies whether a mouse pointer rests over an item control. Inherited from TdxBarItemControl.
IsSelected Returns True if an item control is selected on a toolbar. Inherited from TdxBarItemControl.
Item Provides access to an underlying item associated with the item control. Inherited from TdxBarItemControl.
ItemBounds Inherited from TdxBarItemControl.
ItemLink Specifies the TdxBarItemLink object that links an item control to an underlying item. Inherited from TdxBarItemControl.
PainterClass Provides access to the class used to paint the current item control. Inherited from TdxBarItemControl.
PaintStyle protected Returns the paint style of the button control.
Parent Specifies the bar control to which a given item control belongs. Inherited from TdxBarItemControl.
ShortCut protected Returns the item control’s shortcut. Inherited from TdxBarItemControl.
SubMenuControl Provides access to the submenu that appears when the item control is clicked. Inherited from TdxBarButtonLikeControl.
Width protected Returns the horizontal size of an item control in pixels. Inherited from TdxBarItemControl.

Methods

Name Description
BeginGroupChanged protected This method is called when changing the BeginGroup property. Inherited from TdxBarItemControl.
CanClicked protected Specifies whether an item control responds to mouse clicks. Inherited from TdxBarItemControl.
CanDestroyOnClick protected Specifies whether a parent bar control loses focus when a user clicks the item control. Inherited from TdxBarItemControl.
CaptionChanged protected This procedure is called when changing item control captions. Inherited from TdxBarItemControl.
ControlClick(Boolean,Char) protected Simulates a mouse click. Inherited from TdxBarItemControl.
ControlInactivate(Boolean) protected Inherited from TdxBarItemControl.
DoCloseUp(Boolean) protected Closes the active dropdown window.
DoDropDown(Boolean) protected Activates a dropdown window.
Equals(TObject) Inherited from TObject.
GetDefaultHeight protected Returns the default height of a button.
GetDefaultWidth protected Returns the default width of a button.
GetHashCode Inherited from TObject.
HasWindow Determines whether the current item control is a windowed control. Inherited from TdxBarItemControl.
HotGlyphChanged protected Inherited from TdxBarItemControl.
IsDroppedDown Inherited from TdxBarItemControl.
Paint(TcxCanvas,TRect,TdxBarPaintType) Paints an item control. Inherited from TdxBarItemControl.
PaintStyleChanged protected This method is called when changing the PaintStyle property.
QueryInterface(TGUID,Untyped) protected Provides access to the implementation of the specified interface if the current object supports it. Inherited from TcxIUnknownObject.
Repaint Repaints an item control on screen. Inherited from TdxBarItemControl.
ToString Inherited from TObject.
Update Inherited from TdxBarItemControl.
Update(TRect) Inherited from TdxBarItemControl.
UseRightToLeftAlignment Inherited from TdxBarItemControl.
UseRightToLeftReading Inherited from TdxBarItemControl.
UseRightToLeftScrollbar Inherited from TdxBarItemControl.
See Also