Difference between revisions of "RibbonSection"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision) |
|||
Line 10: | Line 10: | ||
|class=titleClass colspan=3|Properties | |class=titleClass colspan=3|Properties | ||
|- | |- | ||
− | |width=33%|{{Property | name=Buttons | type=RibbonButton | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Buttons | type=RibbonButton | description= | readonly=no | newinversion= | version=1.2.5}} |
− | |width=33%|{{Property | name=HelpPicture | type=Picture | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=HelpPicture | type=Picture | description= | readonly=no | newinversion= | version=1.2.5}} |
− | |width=33%|{{Property | name=OptionsState | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=OptionsState | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}} |
|- | |- | ||
− | |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.5}} |
− | |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.5}} |
− | |width=33%|{{Property | name=Priority | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Priority | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}} |
|- | |- | ||
− | |width=33%|{{Property | name=DefaultWidth | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=DefaultWidth | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}} |
− | |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.5}} |
− | |width=33%|{{Property | name=TempMode | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=TempMode | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}} |
|- | |- | ||
− | |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.5}} |
− | |width=33%|{{Property | name=MouseDown | type=Boolean | description= | readonly=yes | newinversion=}} | + | |width=33%|{{Property | name=MouseDown | type=Boolean | description= | readonly=yes | newinversion= | version=1.2.5}} |
− | |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.5}} |
|- | |- | ||
− | |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.5}} |
− | |width=33%|{{Property | name=MouseOver | type=Boolean | description= | readonly=yes | newinversion=}} | + | |width=33%|{{Property | name=MouseOver | type=Boolean | description= | readonly=yes | newinversion= | version=1.2.5}} |
|- | |- | ||
− | |width=33%|{{Property | name=hasOptions | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=hasOptions | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}} |
− | |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.5}} |
|- | |- | ||
+ | |width=33%|{{Property | name=HelpPicture | type=Picture | description= | readonly=no | newinversion= | version=1.2.5}} | ||
|} | |} | ||
− | |||
− | |||
Line 48: | Line 47: | ||
|{{Method | name=Constructor | params=Name As String, Caption As String = "", DefaultWidth As Integer = 0, HasOptions As Boolean = False, Priority As Integer = 0, Icon As Picture = Nil, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", HelpPicture As Picture = Nil | description= | newinversion=}} | |{{Method | name=Constructor | params=Name As String, Caption As String = "", DefaultWidth As Integer = 0, HasOptions As Boolean = False, Priority As Integer = 0, Icon As Picture = Nil, Enabled As Boolean = True, Visible As Boolean = True, Helptag As String = "", HelpPicture As Picture = Nil | description= | newinversion=}} | ||
|- | |- | ||
− | |{{Method | name=Draw | params=g As Graphics, X As Integer, Y As Integer, DrawStep As Integer = 0 | description= | returntype=Integer | newinversion=}} | + | |{{Method | name=Draw | params=g As Graphics, X As Integer, Y As Integer, Left As Integer, Top As Integer, DrawStep As Integer = 0 | description= | returntype=Integer | newinversion=}} |
|- | |- | ||
|{{Method | name=SetStyle | params=value As Integer | description= | newinversion=}} | |{{Method | name=SetStyle | params=value As Integer | description= | newinversion=}} | ||
|- | |- | ||
|{{Method | name=Simulate | params=SimulationStep As Integer | description= | returntype=Integer | newinversion=}} | |{{Method | name=Simulate | params=SimulationStep As Integer | description= | returntype=Integer | newinversion=}} | ||
+ | |- | ||
+ | |||
|- | |- | ||
|} | |} | ||
− | |||
− | |||
Line 62: | Line 61: | ||
==See Also== | ==See Also== | ||
− | + | RibbonButton, [[RibbonTab]] classes. | |
− | RibbonCanvas controls. | + | RibbonCanvas controls. |
Revision as of 23:55, 24 May 2012
This class is used to define a section in the Ribbon. A RibbonTab can have one or more sections.
Properties | ||
Buttons | HelpPicture | OptionsState |
Caption | HelpTag | Priority |
DefaultWidth | Icon | TempMode |
DisclosureBuffer | MouseDown | Visible |
Enabled | MouseOver | |
hasOptions | Name | |
HelpPicture |
Methods |
ClearAllStates |
Constructor |
Draw |
SetStyle |
Simulate |
See Also
RibbonButton, RibbonTab classes. RibbonCanvas controls.