Difference between revisions of "RibbonMainOption"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision) |
m (4 revisions imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
|class=titleClass colspan=3|Properties | |class=titleClass colspan=3|Properties | ||
|- | |- | ||
− | |width=33%|{{Property | name=Caption | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Caption | type=String | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=Icon | type=Picture | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Icon | type=Picture | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=SubCaption | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=SubCaption | type=String | description= | readonly=no | newinversion= | version=1.2.4}} |
|- | |- | ||
− | |width=33%|{{Property | name=DisclosureBuffer | type=Picture | description= | readonly=yes | newinversion=}} | + | |width=33%|{{Property | name=DisclosureBuffer | type=Picture | description= | readonly=yes | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=LastMouseOver | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=LastMouseOver | type=Integer | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=SubOption | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=SubOption | type=Boolean | description= | readonly=no | newinversion= | version=1.2.4}} |
|- | |- | ||
− | |width=33%|{{Property | name=DoubleButton | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=DoubleButton | type=Boolean | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=Name | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Name | type=String | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=SubOptions | type=RibbonMainOption | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=SubOptions | type=RibbonMainOption | description= | readonly=no | newinversion= | version=1.2.4}} |
|- | |- | ||
− | |width=33%|{{Property | name=Enabled | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Enabled | type=Boolean | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=Separator | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Separator | type=Boolean | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=Visible | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Visible | type=Boolean | description= | readonly=no | newinversion= | version=1.2.4}} |
|- | |- | ||
− | |width=33%|{{Property | name=HasMenu | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=HasMenu | type=Boolean | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=ShortCut | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=ShortCut | type=String | description= | readonly=no | newinversion= | version=1.2.4}} |
|- | |- | ||
− | |width=33%|{{Property | name=HelpTag | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=HelpTag | type=String | description= | readonly=no | newinversion= | version=1.2.4}} |
− | |width=33%|{{Property | name=State | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=State | type=Integer | description= | readonly=no | newinversion= | version=1.2.4}} |
|- | |- | ||
+ | |width=33%|{{Property | name=Icon | type=Picture | description= | readonly=no | newinversion= | version=1.2.4}} | ||
|} | |} | ||
− | |||
− | |||
Line 57: | Line 56: | ||
|- | |- | ||
|width=50%|{{Method | name=DrawSub | params=g As Graphics, X As Integer, Y As Integer, Width As Integer, Height As Integer | description= | newinversion=}} | |width=50%|{{Method | name=DrawSub | params=g As Graphics, X As Integer, Y As Integer, Width As Integer, Height As Integer | description= | newinversion=}} | ||
+ | |||
+ | |- | ||
|} | |} | ||
− | |||
− | |||
Line 65: | Line 64: | ||
==Class Constants== | ==Class Constants== | ||
− | The following constants are used for the | + | The following constants are used for the [[RibbonMainOption.State|State]] of the option. |
− | + | {| class="genericTable" | |
− | Class constant | + | !Class constant |
− | + | !Description | |
− | + | |- | |
− | + | |StateNormal | |
+ | |The default display of the button | ||
+ | |- | ||
+ | |StateMouseOver | ||
+ | |The Mouse is over the button. The background of the button is highlighted | ||
+ | |} |
Latest revision as of 13:25, 6 August 2015
This class is used to define the available Options in the Main view of the Ribbon.
Properties | ||
Caption | Icon | SubCaption |
DisclosureBuffer | LastMouseOver | SubOption |
DoubleButton | Name | SubOptions |
Enabled | Separator | Visible |
HasMenu | ShortCut | |
HelpTag | State | |
Icon |
Methods | |
ClearAllStates | DrawSubOption |
Constructor | SetColor |
Constructor | SetStyle |
Draw | |
DrawSub |
Class Constants
The following constants are used for the State of the option.
Class constant | Description |
---|---|
StateNormal | The default display of the button |
StateMouseOver | The Mouse is over the button. The background of the button is highlighted |