Jump to content

Conditionally Hide a Button in FM 12


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

Recommended Posts

I've got some text and a button that I'd like to make visible only if a condition is met. I've set the text to a color to match the background if the condition is not met.

The button is a small graphic (an email icon) that I pasted into the layout. Is there any way to do this in FM 12? I know it can be done in 14, but we're not ready to upgrade for a few months yet.

Link to comment
Share on other sites

The old-school way of hiding objects before FMI included the functionality in the application can be seen at

Basically put the graphic in a one-row portal whose relationship is invalid when you want it hidden.

Edited by doughemi
  • Like 1
Link to comment
Share on other sites

Hi Courtney,

If I’m understanding you correctly 

3 hours ago, Courtney said:

I've got some text and a button that I'd like to make visible only if a condition is met. I've set the text to a color to match the background if the condition is not met.

why not just use the Hide Object When and a calculation such as  not IsEmpty ( Picturefiles::Container )

Lee

Link to comment
Share on other sites

"why not just use the Hide Object When and a calculation such as  not IsEmpty ( Picturefiles::Container )"

Because the thread is about FileMaker 12; and this feature does not exist in FileMaker 12.

Link to comment
Share on other sites

This topic is 2295 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
 Share

×
×
  • Create New...

Important Information

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