tmas73 Posted July 23, 2008 Posted July 23, 2008 So I do wonder if there is a way to have filemaker remember the last visited tab? So if I switch between layouts it stays the same tab once I come back. Thanks
tmas73 Posted July 25, 2008 Author Posted July 25, 2008 Yes we can. Click here. Thanks for the link. Very helpful. So I found on the website someone else's custom function and script. http://blog.myfmbutler.com/?p=34 I used this custom function in my solution, the only problem is that it remembers the tabs when switching between layouts what it should but in my case i need slightly something different. I have a layout that should look and stay the same it just adds a calculator to the right of the screen. (Like hide and unhide), so for example. I am in the main layout I switch a tab then I switch to layout 2 the tab still stays the same as it should, but when i switch a tab in layout 2 and switch back to layout 1 it remembered the first choice but not the choice of the second layout, that should be fine for what the script does, but I need it to stay the same as in layout 2. Like Layout one and layout 2's tabs should be linked together. Do you have any recommendation on this issue?
Fitch Posted July 25, 2008 Posted July 25, 2008 Offhand I would think that some combination of naming your tab panel objects the same on both layouts and/or a step in your layout navigation script that transfers the contents of the variable that stores the tab state to a different variable, or modifies the variable, should make your scenario feasible.
Lee Smith Posted July 25, 2008 Posted July 25, 2008 (edited) That link didn't work for me? I didn't say that right. The link work, but the file on that site has a broken link, you get the 404 message. Lee Edited July 25, 2008 by Guest
fabriceN Posted July 25, 2008 Posted July 25, 2008 There is this one too http://www.bh-a.com/downloads/index.html#RestoreTabs Even more simple now that there is CustomList.
Lee Smith Posted July 25, 2008 Posted July 25, 2008 Hi Fabrice, I've seen that one before, it is nicely done, and a good place to start for the OP. Lee
Fitch Posted July 26, 2008 Posted July 26, 2008 The link is broken now for me too. Now that I think about it, I believe Ray Cologon also had a similar file, and I think 24U had one as well.
Recommended Posts
This topic is 5975 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