Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

how to get a trigger on close here?

For general discussion related FlowStone

how to get a trigger on close here?

Postby tester » Mon May 20, 2013 7:21 pm

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 827 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to get a trigger on close here?

Postby billv » Mon May 20, 2013 8:28 pm

can you add the 'something else part" that is effecting it??..and re-upload
billv
 
Posts: 1146
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: how to get a trigger on close here?

Postby tester » Mon May 20, 2013 8:40 pm

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.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to get a trigger on close here?

Postby Nubeat7 » Mon May 20, 2013 9:11 pm

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 861 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: how to get a trigger on close here?

Postby tester » Mon May 20, 2013 9:38 pm

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.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to get a trigger on close here?

Postby Nubeat7 » Mon May 20, 2013 9:49 pm

you can get the open and done trigger also without ruby
Attachments
audioselector.fsm
(7.63 KiB) Downloaded 862 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: how to get a trigger on close here?

Postby tester » Mon May 20, 2013 10:02 pm

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.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: No registered users and 82 guests