Bar.SelectSubBar
Description
- Shows the specified subbar on a PowerPro bar, hiding any other subbars.
Syntax
- Bar.SelectSubBar("barname @subbarname")
Parameters
- barname
- (string) name of the bar containing the subbar to show
- subbarname
- (string) name of the subbar to show
Examples
- Bar.SelectSubBar("PPBar @sub1")
- Shows subbar "sub1" on bar "PPBar".
See Also
- A "subbar" is a portion of a PowerPro bar. For more info on subbars, see:
- PowerPro Help CHM > Miscellaneous Usage Topics > "Displaying different subsets of a bar" for more information.
- To get the name of the currently selected subbar, use the built-in PowerPro function subbarname. See:
- PPSR > Built-in Functions > by Category > PowerPro > subbarname