Applies To:
  • CitectSCADA x.x

How do I keep my last position on a page when I change pages and then return to the page? 

To get the command cursor to return to the same position when returning to a page you can do the following:
  1. In the Project Editor select the Pages menu item and then the desired page
  2. Add the following entries:
  • On the Page Entry command: KeySetCursor(PageAN)
  • On the Page Exit command: PageAN=KeyGetCursor()
  • Define an Integer tag for PageAN

You can also write your own functions incorporating these. You may also wish to set [AnmCursor]MouseSnapToCursor - refer to the on-line help.