Page 1 of 1

how to get a trigger on close here?

Posted: Mon May 20, 2013 7:21 pm
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?

Re: how to get a trigger on close here?

Posted: Mon May 20, 2013 8:28 pm
by billv
can you add the 'something else part" that is effecting it??..and re-upload

Re: how to get a trigger on close here?

Posted: Mon May 20, 2013 8:40 pm
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.

Re: how to get a trigger on close here?

Posted: Mon May 20, 2013 9:11 pm
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

Re: how to get a trigger on close here?

Posted: Mon May 20, 2013 9:38 pm
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.

Re: how to get a trigger on close here?

Posted: Mon May 20, 2013 9:49 pm
by Nubeat7
you can get the open and done trigger also without ruby

Re: how to get a trigger on close here?

Posted: Mon May 20, 2013 10:02 pm
by tester
Thank you. I just realized how it works, and that I had it in front of my eyes. :-)