dalahasten Posted May 19, 2004 Posted May 19, 2004 Hi everybody! I have an annonying problem I hope you pro
Reed Posted May 19, 2004 Posted May 19, 2004 Store the name of the layout you started on in a global when you execute the script to go to info about this car. Program the "back" button to go to layout by calculation, and use the global you stored in that calc. Or go to the info layout, pause the script and make the back button a continue script that uses go to layout "original layout" Hope this helps, Dana
ernst Posted May 19, 2004 Posted May 19, 2004 Hi /P If you script navigation between layouts (i.e. do NOT use the layout popup menu in the statusbar) then you could keep track of all the windows you visit by adding an extra script step to each navigation script that appends the new layout's number + a carriage return to a global text field. You het the number of the current layout with the Get(Current layoutnumber) function. The back button would then trigger a script that takes the last value of this list and does a Goto Layout (number by calculation) to take you back to the previously visted layout. The script would then have to remove the last entry from the list in the global field. And if you succeed in getting this to work then you could also start thinking about a 'Forward' button! Happy scripting from, Ernst.
dalahasten Posted May 19, 2004 Author Posted May 19, 2004 Thanx Reed and Ernst! This really solved my problem! Another q when this is going so fine! :What are the pro
Reed Posted May 19, 2004 Posted May 19, 2004 Ernst's technique is probably alot more complete than either of my suggestions. Mine only allow you to go back one step. One drawback of the pause technique is that the when the user is in a paused script, several menu commands are inactivated.
dalahasten Posted May 19, 2004 Author Posted May 19, 2004 Hi again Reed! I still have one question about this "pause technique" I now noticed that when I press the button "info about this car" and then press my new "BACK" button, I
-Queue- Posted May 19, 2004 Posted May 19, 2004 Format your button to "Halt" the currently running script, I'm not sure what that would be in the swedish version.
Recommended Posts
This topic is 7848 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now