Applies To:
  • CitectSCADA 3.xx, 4.xx, 5.xx

Summary:
I want to be able to have title bars on all my graphics pages but I do not want to have the control menu or window buttons available on the title bars. How can I achieve this? 

Solution:
This can be achieved by adding the following Cicode in a startup function:

Function MyStart()
   WinNewAt("Menu",0,0,8); //where Menu is the name of your first page
   WinSelect(0);
   WinFree();
End

Set the project parameter [Code]Startup=MyStart in order to call this function on startup.

This will leave you with one Window open as created by WinNewAt(). Note that the window number becomes 1 rather than the normal 0. Pages are then displayed in this window. Further, when using WinNewAt() you cannot choose a child window mode. Mode 8 (used above) is the no icons window option which means the usual title bar buttons are not available.

 

Keywords:
 

Attachments