GUITabControl

From Virtual World Web Wiki
Revision as of 12:55, 26 May 2017 by Spark5 (Talk | contribs) (Documentation for the GUITabControl class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A component with two sections - tabs to choose from and a display area where the active tab's panel is shown

  • Inherits class: GUIPanel
  • This is a JavaScript visible object

Remarks [edit]

Properties

GUIPanel PanelSection {get;}
Reference to the panel which holds the display panels
int TabCount {get;}
Number of tabs added
string TabItemTemplate {get; set;}
Template used to configure the tab
GUIPanel TabsSection {get;}
Reference to the panel containing the tabs

Methods

GUITabItem AddTab(string title)
Adds a new tab with a given title
GUITabItem GetTab(int index)
Returns the index'th tab from the list of tab items.