sdpetemc Posted January 25, 2006 Posted January 25, 2006 I have a layout with 6 tabs created with the layout mode 'Tab Control Setup'. I made sure not to select a default tab, but each script step that changes layouts/tables in the background, returns to the tab showing in layout mode. I figured out that a nested 'Go to Field' with a hidden field on each tab will get me to the tab of my choice. My question is... how do I figure out which tab the user is on to begin with? I want to be able to return them to the same tab, after the background scripts have run.
SteveB Posted January 26, 2006 Posted January 26, 2006 How do the background scripts get initiated? If through buttons on each tab, you can pass the tab number as a script parameter. Then do a GoTo Field (tabnumber). Steve
sdpetemc Posted January 26, 2006 Author Posted January 26, 2006 The scripts are running from a portal on the common portion of the layout. Each tab area is a different result set that the user has an option to navigate through.
SteveB Posted January 26, 2006 Posted January 26, 2006 Unfortunate. When I'm faced with this situation, I resort to 'phony' tabs. I draw the tabs using the Tab widget, and then capture each tab with a screen capture program (I use Snagit). I build layouts using these captured image, and assign scripts to each image. Until Filemaker fixes this, you don't have a lot of options, since there is no way to assign a script to a true tab. The workarounds that have been posted are as much work as what I suggested above. Steve
JerryD Posted January 29, 2006 Posted January 29, 2006 Check in here: http://fmforums.com/forum/showtopic.php?tid/173566/
Recommended Posts
This topic is 6964 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