Difference between revisions of "RibbonMainOption"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
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 state of the option.
+
The following constants are used for the [[RibbonMainOption.State|State]] of the option.
  
<table>
+
{| class="genericTable"
Class constant->Description
+
!Class constant
StateNormal->The default display of the button
+
!Description
StateMouseOver->The Mouse is over the button. The background of the button is highlighted
+
|-
</table>
+
|StateNormal
 +
|The default display of the button
 +
|-
 +
|StateMouseOver
 +
|The Mouse is over the button. The background of the button is highlighted
 +
|}

Revision as of 23:56, 24 May 2012

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