May 21, 201510 yr 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!!!!
May 21, 201510 yr 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
May 21, 201510 yr 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
May 22, 201510 yr Author 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?
Create an account or sign in to comment