06-01-2017 08:22 AM
So I need to detect a mouse down event, anywhere but a specific control. I'm planning on doing this by obtaining references to all front panel objects which support that event (panes, controls, etc) and then registering a dynamic event so I don't have to manually add all the events to a case.
I'm wondering if there is a simpler way to do this, some mouse down event that I don't know about that is triggered anytime there is a mouse click, not just on a specific control?
Solved! Go to Solution.
06-01-2017 08:36 AM
Hi!
You can do this with an event structure and pointing onto your 'pane' Event Source'.
If you have several panes in your app, you might need to listen to all panes.
06-01-2017 08:42 AM
Yes that's what I've decided to do. For some reason I thought that only worked if you specifically clicked on the pane, not a control in the pane but evidently that's not the case.