Welcome to %s forums

BrainModular Users Forum

Login Register

Query a popup's visibility?

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Query a popup's visibility?

Unread post by woodslanding » 29 Nov 2022, 07:36

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....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 29 Nov 2022, 08:33

by definition, a popup is ... a popup ! and can't be located elsewhere than in a popup window.
Use a container ?

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 06 Dec 2022, 05:46

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.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 06 Dec 2022, 08:22

isvisible.png
isvisible.png (9.06 KiB) Viewed 22256 times
the Popup module has already an "is visible" outlet ! check the huge list of extended in/outlets.

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 07 Dec 2022, 03:47

Sorry, my bad. How did I miss that?

these lists are indeed getting huge. maybe they need a search function! :0
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 163 guests