"registerClosable"
Allows to define if a tab can be closed or not.
Synopsis
setValue(string shape, "registerClosable", int index, bool
closable);
getValue(string shape, "registerClosable", int index, bool
&closable);
shape.registerClosable( int index, bool closable);
Parameter
Parameter | Description |
---|---|
shape | Name of the shape. |
index | Index of the tab. |
closable | Boolean value that states if the tab can be closed. |
Description
Allows to define if a tab can be closed under the usage of the tab index.
Example
Following example changes the settings, so that the tab with the index of 1 can be closed.
main()
{
reg.registerClosable(1, TRUE);
}
Assignment
Tab