Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Really simple request, on/off cycle button


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

Recommended Posts

Posted

Need a way to open and close the popover on the same button, I have a popover button hidden, and a button set to "go to popover" object, but I want that exact same button to close the popover as well?

Pretty sure it is very simple, just not comming to mind right now. Thanks!!!!

Posted

One way to do it is to create a script that sets a global variable to the state the popover was last in and have an if statement built around it.

My method breaks if you click something other than the button because that action closes the popover without setting the global. The user would then have to click the button twice to open the popover.

popover.fmp12

  • Like 1
Posted

My method breaks if you click something other than the button because that action closes the popover without setting the global. The user would then have to click the button twice to open the popover.

​So employ the OnObjectExit trigger with the tab panel.

 

popover_eosMOD.fmp12.zip

  • Like 1
Posted

It almost worked, on the very last step under the last if it halts the script, that is causing me problems as I have navigation buttons inside the popover, it wont navigate if the halt script is there. It worked but bugged if I changed halt to pause as it would keep the system pausing.

If halt script is the last step when closing it wont let me navigate, ideas?

This topic is 3473 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.