RemoveScreenTab

<< Click to Display Table of Contents >>

 

RemoveScreenTab

RemoveScreenTab(TabName)

Removes the tab indicated by the TabName parameter. Returns True if removal was successful, or False if the tab was not removed because it does not exist. This method generates a script error if the TabName parameter is the name of a default tab, "Analogs" (Analog tab), "Discretes" (Discrete tab), or "Commands" (Commands tab), or an empty String. The next script contains an example of using this method.

Sub CommandButton_Click()
  Set WE = Application.GetWaterExplorer("System1.Station1")
  WE.RemoveScreenTab "ChartTab"
End Sub

Was this page useful?