Applies To:
  • CitectSCADA 4.x, 5.0

Summary:
When using forms in Citect, you can't switch focus back to a form if you have no mouse or other pointing device once focus is lost on a form. In certain operations you may go off a form back onto the main page and then find that you can never get back onto the form or forms that are still poped up. 

Solution:
This is a problem for sites with PC's not using a mouse. The following example of Cicode allows operators to get back into a form if they have made an operational error. Run this form select function on the pages where forms are used, you can run it from a conveniently placed button.

Function
FormSelect()
   INT hForm = 5; !assumes up to 5 forms displayed at any on time as max
   INT iError = -1;

   While hForm >= 0 and iError <> 0 do
      iError = FormGoto(hForm);
      hForm = hForm - 1;
   End
   return iError;
END

 

Keywords:
 

Attachments