WinTitle
- Last UpdatedJul 18, 2023
- 1 minute read
Sets the title of the active window.
If a window title has been set with the [Page]WinTitle parameter, Plant SCADA uses this title when it refreshes the page (overriding the window title set with the WinTitle() function). To minimize the likelihood of Plant SCADA from overriding the title, set the parameter [Page]WinTitle to *.
Note: This function does not work with pinned windows.
Syntax
WinTitle(sTitle)
sTitle:
The new title for the window.
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
WinTitle(Time()+" "+Date());
! Places the current time and date into the window title.