06-19-2009 03:16 PM
I have rings and enums on my front panel that are disabled and greyed. When I click on one of them I enable it. However, because it was disabled to begin with the dropdown box does not open up. I would the box to open on this click, rather than having to click again. I've searched through the properties and nothing has jumped out at me.
Anyone know of a solution?
Thanks.
Solved! Go to Solution.
06-19-2009 03:37 PM
I used the mouse enter event property it may help if not sorry
I am still looking though
06-19-2009 03:43 PM
06-19-2009 03:53 PM
You misunderstood. I enable it using Mouse Down when I click it. But I also want the list to open up when I click it that first time.
Or in the example you posted, I would want the list to open up on Mouse Enter.
06-22-2009 04:15 PM
Hello,
I have taken a look at your problem and I believe that this does what you want. After your first mouse click, the event structure creates a programmatic mouse click in the same location in order to open the menu items. This is done by calling into the user32.dll and generating a mouse click. After the first mouse click, the event structure sends another up click, then initiates the down and up sequence.
-Zach
06-23-2009 12:03 PM
09-22-2015 01:56 PM
Outstanding! The above VI solved my similar problem...
09-22-2015 02:50 PM
That's great!
What would be the best way to catch the Mouse Leave event of the drop down list?
I'd like to close it programmatically when user moves mouse out when it's open.
I'm thinking to register Owning Pane Mouse Move event but...That's a bit complicated.
Jimmy
09-22-2015 04:07 PM - edited 09-22-2015 04:08 PM
@dj143 wrote:
Outstanding! The above VI solved my similar problem...
I think using the "Mouse Down?" filter event would be a lot simpler (did they not have filter events in 2009?).