Tab Switching Script Triggers
If you've ever come across the need to trigger a script when you switch to a new tab, you need to know it's possible. Even though FileMaker doesn't natively provide this feature, you can make this happen with a degree of control that makes it easy - and even fun!
Using a variety of custom functions, and some creative thinking, your native tab switching script triggers are simply a matter of editing some text within a text box.
Watching this video will provide insight into using conditional formatting to make a FileMaker script trigger when you switch to any new tab.
Comments
Screen blinks & scripts run again
Matt,
Great technique! I was just wondering about running scripts from my tabs and then you posted this video, good timing. I'm running into an issue (its probably machine specific not technique specific) with the screen blinking and the scripts running. This happens repeatedly, every 10 - 15 seconds... any idea what's going on here?
Some details: Windows XP Pro, FileMaker Advanced 9.0v3, Dell 600m, your Tab Script file.
ps. My Filemaker screens used to always do this "blinking" thing where overlapping windows would blank out until I turned my video acceleration off (saw that tip on FileMaker Cafe).
Thanks for all of your great work!
Jim
Ah, Windows
I neglected to test this on my virtual Windows machine and I'm personally having issues. I'll have to look at the problem and see if this can be fixed.
If the file is working for you and you're on Windows then the behavior is not consistent. Since I don't spend a lot of time on Windows personally, I've not had to deal with the "blinking" issue - although I know it's there and quite annoying.
Matt
-- Matt Petrowsky - ISO FileMaker Magazine Editor
Supported by end users running FMP7 and FMP8?
Matt, you mention up front FMP9 is required. But do you mean only as a developer? Will end users running FMP7 and FMP8 have problems with this?
Morley Chalmers
Morley Chalmers
--
Do not worry if you have built your castles in the air. They are where they should be. Now put the foundations under them. -- Henry David Thoreau