March 6, 200916 yr I am using the the following conditional formating rule to control the attributes of a button: If (GetLayoutObjectAttribute ( "Tab 1" ;"isFrontTabPanel") = "0" ; 1 ; 0 ) My Layout has two tabs. I want he button to behave differently depending on which tab is active. What I am finding is that the formatting works correctly, but it does not take effect until a "Refresh Window" is done. For example, I click on Tab 2 and the button is grayed out the way I want it. I click on Tab 1 and it remains (incorrectly) grayed out. I want it to take effect as soon as the tab is selected. I get the desired results only if I do a Refresh Window after each tab selection. Any help would be appreciated. Thank you.
March 7, 200916 yr Your observation is quite correct: when you switch tabs, Filemaker refreshes only the tab portion of the window. Perhaps you could use a script-triggering plugin, or upgrade to version 10. Or place the button inside the tab object (twice).
March 7, 200916 yr Author Thanks for the information and ideas. I will go a different route now. I appreciate your prompt assistance. H
Create an account or sign in to comment