Jump to content
Sign in to follow this  
shawnj985

Returning from a Help Layout

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Hi

you can store the layout name ( or the layout number ) into an $$ variable before going to the Help Layout.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.