May 19, 200421 yr 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
May 19, 200421 yr 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.
May 19, 200421 yr Author Thanx Reed and Ernst! This really solved my problem! Another q when this is going so fine! :What are the pro
May 19, 200421 yr 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.
May 19, 200421 yr Author 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
May 19, 200421 yr Format your button to "Halt" the currently running script, I'm not sure what that would be in the swedish version.
Create an account or sign in to comment