Jump to content
Server Maintenance This Week. ×

Conditional Formatting is not taking effect immediately


This topic is 5542 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

Thanks for the information and ideas. I will go a different route now. I appreciate your prompt assistance. H

Link to comment
Share on other sites

This topic is 5542 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.