Pages opening as New Tab

Hello,

In Citect -2018Runtimewhen I open page it will be opened as new tab.

I don't need new tab I need to open the page only in single tab.

Only one page will be open at a time....

Please reply how to do it...

Thanks...

STolz Enterprises

  • Hi STolz,

    if useing only PageDisplay("PageName") doesnt work,

    try the syntax:
    WinFree();
    PageDisplay("PageName")
  • Hi,

    I assume you are using the SxW templates.
    Actually there is only one page open at any time, the tabs are just keeping track of "open" pages based on the page stack.

    The easiest way to force "single" tab is to set the parameter in the ini:
    [Page]MaxList=1

    or to make it project wide, in Citect Studio :
    Setup - Parmaters , add a new parameter there
    Section Name = Page
    Name = MaxList
    Value = 1
  • Hello,
    I tried with MaxList this parameter is not available in Ini file.
    Can you please provide me project screen ashot and Ini screenshot.
    Thanks for support
  • Hi,

    See below 3 screenshots from CSE , Studio and the runtime.

  • The question is: why do you want to disable the tabs? Erik is correct. The tabs do not take up extra resources (memory or CPU or network usage). Only the the page you are viewing is 'open' and active. The tabs are just a list of recent pages. The tabs just make it easier for operators to return to recent pages so they can switch between the pages they use most often with a single click instead of having to go through the navigation menus. By disabling the tabs, you are only decreasing the usability of the SCADA system and not providing any benefit that I know of, unless there is an unusual security requirement that people can't see what page names have been viewed recently. If the tabs don't work correctly because there is code that needs to be called before the pages can be re-opened, then you just need to use PageTask() to open the page (see the PageTask() help for details).