Difference between revisions of "RibbonButton"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (5 revisions imported)
 
(2 intermediate revisions by the same user not shown)
Line 90: Line 90:
 
==See Also==
 
==See Also==
  
RibbonSection, [[RibbonTab]] classes.
+
[[RibbonSection]], [[RibbonTab]] classes.
RibbonCanvas control.
+
[[RibbonCanvas]] control.

Latest revision as of 13:25, 6 August 2015

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.