gorilla135 Member G Join Date Dec 2006 Location Ireland Posts 2 Jul 24, 2008 #1 I was wondering if anyone knew a script to show the previous window in wonderware, at the minute i am using a very tedious method. thanks
I was wondering if anyone knew a script to show the previous window in wonderware, at the minute i am using a very tedious method. thanks
krk Lifetime Supporting Member K Join Date Aug 2004 Location Kent Posts 795 Jul 24, 2008 #2 - Create a message tag called something like LastWindow - In the Window script - On Hide for all windows add the line: LastWindow = "This window name"; - Show previous window using: Show ""+LastWindow; I don't know of any other way to do this myself so I'd also be interested if there were a neater solution... Last edited: Jul 24, 2008
- Create a message tag called something like LastWindow - In the Window script - On Hide for all windows add the line: LastWindow = "This window name"; - Show previous window using: Show ""+LastWindow; I don't know of any other way to do this myself so I'd also be interested if there were a neater solution...
robertmee Lifetime Supporting Member R Join Date Feb 2008 Location NC Posts 2,027 Jul 24, 2008 #3 That's the way I've always done it. Use a memory string tag and using the OnHide of each window assign the name of the window to the tag. Do this for your main windows...Not really practical for popups/overlays.
That's the way I've always done it. Use a memory string tag and using the OnHide of each window assign the name of the window to the tag. Do this for your main windows...Not really practical for popups/overlays.