ibiubu Posted October 3, 2002 Posted October 3, 2002 Is there a script that when run, no matter what layout you are on, will go back to the previous layout, no matter what the previous layout may be? LR
falkaholic Posted October 3, 2002 Posted October 3, 2002 Set a field to the status(currentlayout) when on the layout you'll want to go back to, and then use the Go To Layout[by field] to go to that layout. Or if you mean the layout you started on, there is the Go To Layout [ orignal layout] (in case you missed that one) HTH
cinolas Posted October 3, 2002 Posted October 3, 2002 Sure, I use this technique for better navigational systems (with back buttons and all). The only problem is that you need to control navigation between layouts which means removing the status bar and using buttons/scripts to switch between layouts. Create a global field (number) that will contain the previous layout number. Create buttons/scripts to go to other layouts. Each button should trigger a script that will first set the global field to the current layout number then go to the layout: Set Field (gPreviousLayout) to Status(CurrentLayoutNumber) Go To Layout (whatever) The back button script will simply go to layout by number Go To Layout (by Number) gPreviousLayout That is the simple answer.... I am having crazy ideas on what one could do to push this system even further. You could, for example, use a global TEXT field to contain the previous layout number history. Then you would concatenate the number (and a separator if you have more than 10 layouts) to the text field. You would also need a global number field to keep the position in the history. This way one could keep complete history making it possible, with appropriate scripting of the navigational buttons, to use unlimited back and forward buttons just like in an Internet browser. The possibilities are endless....
Recommended Posts
This topic is 8091 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