shawnj985 Posted April 21, 2007 Posted April 21, 2007 Hi all I am building a 8 table project with a Help Text layout in only one of the tables. The users would access this layout by pressing the HELP button on the screen. The issue for me now is that this layout is in one table but I would like to be able to return back to my original screen from this Help layout. Not sure how to do that.
Raybaudi Posted April 21, 2007 Posted April 21, 2007 Hi you can store the layout name ( or the layout number ) into an $$ variable before going to the Help Layout.
Squeaky Data Posted April 22, 2007 Posted April 22, 2007 Another option might be to open the help layout in a new window then close the window when you are done.
The Big Bear Posted April 23, 2007 Posted April 23, 2007 Shawn I have the same sitution as you and these is how I did it. I make a layout in the help file for each help button. Then I script that perculiar help button to access that layout and then the exit button on the help screen is scripted to return you to where you were. There is a better way of doing this but this does work Lionel
Genx Posted April 23, 2007 Posted April 23, 2007 Yeah definitley go with daniele's suggestion: When going to the layout: Set Variable[$$curLayout ; Get(LayoutName)] Go To Layout[ Help ]; When exiting the layout Go To Layout[ $$curLayout ]
shawnj985 Posted April 27, 2007 Author Posted April 27, 2007 Hi all I have tried this but when I run the script on the Help Layout to go back to my original layout. The layout just blinks. It just seem that I need to get back to the table itself before that script will work.
David Jondreau Posted April 27, 2007 Posted April 27, 2007 It just seem that I need to get back to the table itself before that script will work. No, that's not the case. You must have something else wrong in your script. Post the full script.
Raybaudi Posted April 27, 2007 Posted April 27, 2007 Check: Go To Layout[ Layout name by calculation and calc: $$curLayout ] Naturally there must be a $$curLayout stored...so this script can fire only after someone, in the same session, has fired the first script. To avoid to stay into the Help Layout forever in case the $$curLayout is empty, you can modify this script with: If [ IsEmpty ( $$curLayout ) ] Go to Layout [ Main ] Else Go To Layout[ $$curLayout ] End If
Recommended Posts
This topic is 6421 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