Tab Control Methods
The Tab control supports the following scripting methods.
See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.
| Method | Description |
|---|---|
|
AddTab |
The AddTab method adds a tab to the Tab control. |
|
Equals |
The Equals method determines whether the specified object is equal to the current object. |
|
GetHashCode |
The GetHashCode method returns a hash code for the current object. |
|
GetType |
The GetType method returns the runtime type of the current instance. |
|
HyperlinkReplace |
The HyperlinkReplace method replaces the active screen in the control with a facility's associated screen. See Hyperlinking Screens and Navigation by Facility for more information about using this method. Note: This method will only replace a screen in the Tab control if the screen is specified for an existing tab. If you try to link to a screen that is not specified for a tab, Canvas will not replace it. |
|
HyperlinkReplaceWithNavigation |
The HyperlinkReplaceWithNavigation method replaces the active screen in the control with a facility's associated screen and adds a navigation toolbar. See Hyperlinking Screens and Navigation by Facility for more information about using this method. Note: This method will only replace a screen in the Tab control if the screen is specified for an existing tab. If you try to link to a screen that is not specified for a tab, Canvas will not replace it. |
|
SelectTab |
The SelectTab method takes an integer and allows selection of items in the Tab control. This is how you select tabs via script. |
|
ToString |
The ToString method returns a string that represents the current object. |
