CanvasMap
Getting Started Tutorials 3D Reference

Class CMPanelButtons extends CMPanel

CMPanelButtons

ButtonClassName ButtonClassName CMTYPE_STRING CM_ButtonContent LayerListID LayerListID CMTYPE_STRING CM_LayerList BackgroundListID BackgroundListID CMTYPE_STRING CM_BackgroundList SearchPanelID SearchPanelID CMTYPE_STRING CM_SearchPanel MainContainerStyle CanvasContainerStyle

Object Functions

Inherited From: CMPanel
ReturnsFunctionThrows
The AddTab(ContentID, Name, ToolTip)
SelectTab(TheTabButton)
GetTabContentElement(TabName)
RemoveTab(TabName)

Object Functions

The=AddTab(ContentID, Name, ToolTip)

Add a tab to the tab panel.

Parameters:
    ContentID - The id for the content that will be associated with the tab.
    Name - The name that will appear in the tabs
    ToolTip - Optional tools tip that will appear when the user hovers over the tab.

Returns: The - tab content assocaited with the tab.

SelectTab(TheTabButton)

Set the currently selected tab

Parameters:
    TheTabButton - the button object that was returned by AddTab()

GetTabContentElement(TabName)

Returns a tab content element so it can be filled

Parameters:
    TabName - name of the tab whose content will be returned

RemoveTab(TabName)

Removes a table from tab container

Parameters:
    TabName - name of the tab whose content will be returned