Applies To:
  • CitectSCADA 5.31, 5.40, 5.41, 5.42, 5.50, 6.0, 6.1, 7.0
  • CitectHMI 5.31, 5.40, 5.41, 5.42, 5.50, 6.0, 6.1, 7.0

Summary:

I do not want to see the windows title bar on my pages but I do not want to run in full screen mode. When I untick the 'Display Tilte Bar' field in the computer setup wizard it automatically sets my project to run in full screen by setting [Animator]FullScreen=1. How can I avoid this? 


Solution:

What you can do is open your pages by using WinNewAt with mode 16 (The window is displayed with thin borders, no caption, and no maximize/minimize or system menu icons). WinNewAt will keep the previous window open though so if you want the previous window to close when you switch to the next page you will need to use the following command:

WinNewAt("<pageName>",x,y,16);

WinPrev();

WinFree()

To do this on startup you will need to create a new page solely for the purpose of calling the above Cicode. This new page should be the selected as the runtime Startup page, set via the Computer Setup Wizard. The page will temporarily open, execute the Cicode calling your actual startup page before closing. Calling the WinNewAt function directly on startup will cause two pages to open so is not advised.

The first parameter passed to WinNewAt should be the actual startup page name. The Cicode in its entirety should be called on the page properties of the temporary page, Events, ‘On Page Shown’.

 


Keywords:
 

Attachments