"registerPanel";
Displays the defined panel on the tab specified by the index number (starting at 0).
Synopsis
setValue(string shape, "registerPanel", int registerIndex, string fileName,
dyn_string params);
shape.registerPanel( int registerIndex, string fileName, dyn_string
params);
Parameters
Parameter | Description |
---|---|
registerIndex | Index number of the tab, starting with 0 |
fileName | Path and name of the panel. Specify a relative path (an absolute path causes error messages). |
params | $Parameters of the panel |
Description
Displays the defined panel on the tab specified by the index number (starting at 0).
Example
main()
{
Tab1.registerPanel(2, "about.pnl", makeDynString(""));
//opens the "about" panel on the third tab
}
Assignment
Tab