setWindowTitle()
Sets the header of a module.
Synopsis
setWindowTitle( string moduleName, [ string panelName,] string
title);
Parameters
Parameter | Description |
---|---|
moduleName | Name of the module whose header should be set |
panelName | Name of the opened panel |
title | The header that is set |
Return value
Errors
Description
Sets the header of a module.
This function can also be used for dockmodules.
Example
Sets the header of the current module to "Example header".
main()
{
string modName = myModuleName();
string myTitle = "Example header";
setWindowTitle(modName, "myPanel.pnl", myTitle);
}
Figure: The set header
Assignment
Panel functions
Availability
UI