how to get a trigger on close here?

For general discussion related FlowStone
Post Reply
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

how to get a trigger on close here?

Post by tester »

I need to get a trigger related to a dropdown list, when menu was opened, no selection was made, and menu was closed just by clicking somewhere else (automatic "cancel" situation). But as I can see - the dropdown list has no triggers on open/close. Also I can't get it with mouse over routines or I'm doing something wrong. How to make it?
Attachments
audioselector.fsm
(6.97 KiB) Downloaded 970 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: how to get a trigger on close here?

Post by billv »

can you add the 'something else part" that is effecting it??..and re-upload
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to get a trigger on close here?

Post by tester »

There is no "something else" part needed. In case if you click on surrounding (inside the app interface), it can be bonded with mouse click (but don't know yet whether it will affect other mouse features, not tested yet), but if you click outside the app window, then you have no feedback anyway. Maybe some combination with mouseover, but I'd like to avoid using too wide surrounding to explore that.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: how to get a trigger on close here?

Post by Nubeat7 »

hallo tester,

i had a look on it and it is easy to get the done trigger because the trigger order looks like this: click -> first order opens selector -> second order when done
it just gets tricky if you only want a trigger when nothing has changed you need to compare the value on open trigger with the value on done trigger and only send a trigger if they are equal
Attachments
selector_triggerorder.fsm
(2.18 KiB) Downloaded 1002 times
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to get a trigger on close here?

Post by tester »

Thanks. Quick question. Is it possible to make it without ruby? I mean that part with clicking outside the window and getting grigger when nothing has changed.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: how to get a trigger on close here?

Post by Nubeat7 »

you can get the open and done trigger also without ruby
Attachments
audioselector.fsm
(7.63 KiB) Downloaded 1018 times
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to get a trigger on close here?

Post by tester »

Thank you. I just realized how it works, and that I had it in front of my eyes. :-)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply