LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mousemove+eventstructur



@zäpfle wrote:
//Sounds like what you really want to do is simulate a mouse click to drop open the list box.
nearly, I want open a menu ring
 
//For you're event structure, you probably want to use the "Mouse Enter" event to trigger the click instead of the "Mouse Move" event. That way it only gets triggered once when the mouse first enters the control bounds.
 
with a menu ring, it doesn't work 


The "Mouse Enter" event alone will only tell your application when the cursor is over the control. It will not do anything else. That is why I suggested you need to simulate a mouse click. The only way to open a menu ring is to click on it.

The attached VI includes a subVI that will simulate the mouse click (only works on Windows) and shows how you need to setup your Event Structure to open the menu just moving the mouse over it.

This is saved in LV 8, didn't know what you are using, so if you need it in an older version, let me know.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 11 of 11
(407 Views)