Difference between revisions of "RibbonTab"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
Line 10: Line 10:
 
|class=titleClass colspan=2|Properties
 
|class=titleClass colspan=2|Properties
 
|-
 
|-
|width=50%|{{Property | name=BackColor | type=Color | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=BackColor | type=Color | description= | readonly=no | newinversion= | version=1.2.5}}
|width=50%|{{Property | name=Sections | type=RibbonSection | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=Sections | type=RibbonSection | description= | readonly=no | newinversion= | version=1.2.5}}
 
|-
 
|-
|width=50%|{{Property | name=Caption | type=String | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=Caption | type=String | description= | readonly=no | newinversion= | version=1.2.5}}
|width=50%|{{Property | name=SeparatorBuffer | type=Picture | description= | readonly=yes | newinversion=}}
+
|width=50%|{{Property | name=SeparatorBuffer | type=Picture | description= | readonly=yes | newinversion= | version=1.2.5}}
 
|-
 
|-
|width=50%|{{Property | name=EmbeddedControls | type=RibbonEmbeddedControl | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=EmbeddedControls | type=RibbonEmbeddedControl | description= | readonly=no | newinversion= | version=1.2.5}}
|width=50%|{{Property | name=ShortCut | type=String | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=ShortCut | type=String | description= | readonly=no | newinversion= | version=1.2.5}}
 
|-
 
|-
|width=50%|{{Property | name=HasBackColor | type=Boolean | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=HasBackColor | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}
|width=50%|{{Property | name=Visible | type=Boolean | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=Visible | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}
 
|-
 
|-
|width=50%|{{Property | name=Icon | type=Picture | description= | readonly=no | newinversion=}}
+
|width=50%|{{Property | name=Icon | type=Picture | description= | readonly=no | newinversion= | version=1.2.5}}
 +
 
 +
|-
 +
|width=50%|{{Property | name=Name | type=String | description= | readonly=no | newinversion= | version=1.2.5}}
  
 
|-
 
|-
|width=50%|{{Property | name=Name | type=String | description= | readonly=no | newinversion=}}
 
 
|}
 
|}
 
 
  
  
Line 40: Line 40:
 
|{{Method | name=Constructor | params=Name As String, Caption As String = "", Visible As Boolean = True, Icon As Picture = Nil, IconName As String = "" | description= | newinversion=}}
 
|{{Method | name=Constructor | params=Name As String, Caption As String = "", Visible As Boolean = True, Icon As Picture = Nil, IconName As String = "" | description= | newinversion=}}
 
|-
 
|-
|{{Method | name=Draw | params=g as graphics, X As Integer, Y As Integer, AvailableWidth As Integer, DrawStep As Integer = 0, FullRefresh As Boolean = False | description= | newinversion=}}
+
|{{Method | name=Draw | params=g as graphics, X As Integer, Y As Integer, Left As Integer, Top As Integer, AvailableWidth As Integer, DrawStep As Integer = 0, FullRefresh As Boolean = False | description= | newinversion=}}
 
|-
 
|-
 
|{{Method | name=DrawLabel | params=g As Graphics, X As Integer, Y As Integer, Height As Integer, InnerOffset As Integer, Active As Boolean, MouseOver As Boolean | description= | returntype=Integer | newinversion=}}
 
|{{Method | name=DrawLabel | params=g As Graphics, X As Integer, Y As Integer, Height As Integer, InnerOffset As Integer, Active As Boolean, MouseOver As Boolean | description= | returntype=Integer | newinversion=}}
Line 48: Line 48:
 
|{{Method | name=Simulate | params=AvailableWidth As Integer, SimulationStep As Integer = 0 | description= | newinversion=}}
 
|{{Method | name=Simulate | params=AvailableWidth As Integer, SimulationStep As Integer = 0 | description= | newinversion=}}
 
|-
 
|-
|}
 
 
  
 +
|-
 +
|}
  
  
Line 56: Line 56:
 
==See Also==
 
==See Also==
  
[[RibbonButton]], [[RibbonSection classes.
+
RibbonButton, [[RibbonSection]] classes.
RibbonCanvas controls.]]
+
RibbonCanvas controls.

Revision as of 23:55, 24 May 2012

This class is used to define a tab in the Ribbon. A RibbonCanvas can have one or more tabs.



Properties
BackColor Sections
Caption SeparatorBuffer
EmbeddedControls ShortCut
HasBackColor Visible
Icon
Name


Methods
ClearAllStates
Constructor
Draw
DrawLabel
SetStyle
Simulate


See Also

RibbonButton, RibbonSection classes. RibbonCanvas controls.