RibbonTab

Constructor( strText as String )

Dim newTab as RibbonTab = new RibbonTab( “Test” )

Events

This class does not expose any events

Methods

AddSection( newSection as RibbonSection )
Adds the specified section class to the tab’s children.

GetSection( SectionText as String ) as RibbonSection
Returns a child section by it’s caption.

RemoveAllSections()
Removes all child sections.

RemoveSection( SectionText as String )
Removes a child section by it’s caption.

Properties

Children() as RibbonSection
Array containing all child sections of the particular RibbonTab.

Enabled a Boolean
Determines whether the tab is clickable.

Height as Integer
Returns the drawn height of the tab.(Read-Only)

MyParent as GraffitiRibbon
The GraffitiRibbon instance to which this tab belongs.(Read-Only)

Text as String
The tab’s caption.

Visible as Boolean
Determines whether the tab is drawn.

Width as Integer
Returns the drawn width of the tab.(Read-Only)

X as Integer
Returns the drawn X position of the tab.(Read-Only)

Y as Integer
Returns the drawn Y position of the tab.(Read-Only)