April 21, 200718 yr 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.
April 21, 200718 yr Hi you can store the layout name ( or the layout number ) into an $$ variable before going to the Help Layout.
April 22, 200718 yr Another option might be to open the help layout in a new window then close the window when you are done.
April 23, 200718 yr 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
April 23, 200718 yr 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 ]
April 27, 200718 yr Author 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.
April 27, 200718 yr 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.
April 27, 200718 yr 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
Create an account or sign in to comment