"registerName"
Sets the internal name for a tab. The name can be used with the function "namedActiveRegister".
Synopsis
setValue(string shape, "registerName",int idx, string name);
getValue(string shape, "registerName", int idx, string
&name);
shape.registerName( int idx, string name);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
idx | Index of the tab |
name | Name of the tab |
Description
Sets the internal name for a tab. The name can be used with the function "namedActiveRegister".
Example
The following example sets the name of the first tab to "Tab"; and sets this tab active with "namedActiveRegister" .
main()
{
langString h = "Tab";
TAB1.registerName(0,h);
TAB1.namedActiveRegister("Tab");
}
Assignment
Tab