Page 1 of 1
Query a popup's visibility?
Posted: 29 Nov 2022, 07:36
by woodslanding
I can check the 'where' on most containers, but not on the popup. Is there another way?
I can certainly go back to using generic containers for popups, as I used to back in HH3 days.... but wondering if there is an easier solution....
Re: Query a popup's visibility?
Posted: 29 Nov 2022, 08:33
by senso
by definition, a popup is ... a popup ! and can't be located elsewhere than in a popup window.
Use a container ?
Re: Query a popup's visibility?
Posted: 06 Dec 2022, 05:46
by woodslanding
I want to know if it's open or not. I know where it is, of course!
I want to turn on certain features if the user is trying to edit them via the popup, so I want the visibility of the popup to be able to trigger something else.
I guess it needs to be a FR. The popup just needs an output terminal: isVisible.
But I can see a workaround now. I'll create a switch, and make sure everything that can open or close the popup also changes the position of the switch in the exact same way.
Does seem like a reasonable feature for the popup to have, though.
Re: Query a popup's visibility?
Posted: 06 Dec 2022, 08:22
by senso

- isvisible.png (9.06 KiB) Viewed 22257 times
the Popup module has already an "is visible" outlet ! check the huge list of extended in/outlets.
Re: Query a popup's visibility?
Posted: 07 Dec 2022, 03:47
by woodslanding
Sorry, my bad. How did I miss that?
these lists are indeed getting huge. maybe they need a search function! :0