staypuffinpc Posted November 7, 2002 Posted November 7, 2002 I have a number of files linked together. I'd like to be able to create a back button that takes you to the last file you were in. I thought I could do this by creating a global field that contains the last file (updated by putting Status(CurrentFilePath) into the global before leaving the page) and then opening that file. However, the "open" file command doesn't have the option to open a file using a field value; it just asks for the specific file. Is there some way to do this?
harryk Posted November 7, 2002 Posted November 7, 2002 You can script Filenames to open. If you organise that global field some other way, you could script: if global="file 1" then open "file 1" if global="file 2" then open "file 2" (sorry for the 'basic' way of writing the syntax, the meaning is clear I hope) Harryk
stefangs Posted November 7, 2002 Posted November 7, 2002 this can get really complex. what i've done in one of my multi-file solutions it to simply get the user to only use my buttons (disabling the close box happens nicely in the runtimes). then each window has a 'done' button which you could call 'back'. all the button does, is an 'Toggle Window [Hide]' step. click it, and you're back to where you were before you opened the window. simple and easy.
Recommended Posts
This topic is 8056 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