01-16-2014 10:25 AM - edited 01-16-2014 10:28 AM
I would like to name a group of events so that they appear as a child group of "Dynamic" events in the Edit events window.
For custom user events I can do the following to put them into a child group called "My group of events":
However, if I have references to front panel objects which I then register for events, I have no idea how to put them into a single group.
How can I cluster them like the previous example?
I'm sure this has probably been asked before, but can't find any previous posts that answer this.
Thanks
Matt
01-17-2014 06:13 AM
01-17-2014 06:25 AM
Thanks for the suggestion udka
Do you mean like this?
Unfortunately I need multiple event types (Value Change and Mouse Leave). Directly connecting the cluster only allows me to choose one common event. Do you know of another way?
Thanks
01-17-2014 06:34 AM
Hi Matt
Not sure if this helps you achieve what you're looking to do, but you can cluster the references and feed these into both Value Change / Mouse Leave events.They then appear under Dynamic -> 'My group'.
Cheers
Neil
01-17-2014 06:41 AM
Of course re-clustering the references doesn't achieve much other than change the cluster name ... doh !
01-18-2014 06:29 AM
Thanks NeilR.
I ideally wanted to avoid redundant events and have them in a single group. I get the feeling this isn't going to be possible with front panel object events.
The main reason for this was implementing a Passive Model View Presenter design pattern. Each view would have a set of exposed events that the presenter could subscribe to. However, thinking more about this, I should create a custom event for each event that I may need to handle so that duplicate/overidden/alternative views are not limited to the same control type as the base view. The group naming problem is then solved as well.