This is one of the areas where FileMaker 12 has improved on the options available in FileMaker 11.
In Filemaker 11, you can use the OnObjectModify trigger to detect that a different tab panel was clicked. But you then need to use the Name box in the inspector's position tab to give each tab panel an object name.
Then a script with several If, else if, clauses can use GetLayoutObjectAttribute to determine which object is currrently the front tab panel.
Hi Phil, Thx for the help. I have named my 3 TABs as "select", "customer", "order" in the Inspector) . I want the script to run ONLY (uponexit) if the TAB exiting from is named "customer.
If [GetLayoutObjectAttribute(objectName;"customer") = "customer"]
I took a stab at it but the script editor won't accept this calculation, and I can't understand how to configureit. I ONLY need to run the script if the user is on the "customer" tab.
Can you help with my "Get" calculation?
.......or it is going to be a lot more complicated than this?