January 25, 200619 yr 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.
January 26, 200619 yr 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
January 26, 200619 yr Author 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.
January 26, 200619 yr 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
Create an account or sign in to comment