Applies To:
  • CitectSCADA 3.x 4.x

Summary:
When using super genie popup pages it can be confusing to have many popup pages display at the one time. I would like to have any open popup page close before a new one is displayed. 

Solution:
You can add cicode to determine if there is a child window displayed and if so to then close it. For Example:

FUNCTION
WinCloseAllChildren()
   INT hChild;
   INT hOld;

   hChild = PageInfo(9);
   WHILE hChild <> -1 DO
      hOld = WinSelect(hChild);
      WinFree();
      WinSelect(hOld);
      hChild = PageInfo(9);
   END
END

You can add this code before the Ass... function which calls each super genie page, then only one popup page at a time can be displayed.

 

Keywords:
 

Attachments