RibbonButton

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search

This class is used to define a Button in the Ribbon. Buttons belong to a RibbonSection.



Properties
Blink HelpPicture SmallIcon
BlinkAmount HelpTag State
Caption Horizontal TempMode
DefaultWidth Icon Visible
DoubleButton Menu WhiteSpace
EmbeddedControl Name
Enabled Selected
HasMenu Separator


Methods
Constructor
Constructor
Draw
GetXY
Popup
SetStyle
Simulate


Class Constants

The following constants are used for the State of the button.

Class constant Description
StateNormal The default display of the button
StateMouseOver The Mouse is over the button. The background of the button is highlighted
StateMouseDown The Mouse is down on the button. The background is strongly highlighted

See Also

RibbonSection, RibbonTab classes. RibbonCanvas control.