LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture mouse move event on a panel(CVI 6.0)

Hello,

In LabVIEW , I can choose a control from the tool palette and place it on the front panel , when not click the mouse , the mouse cursor display a profile of the choosed control , once clicked the mouse , it can place the control on the cursor position .How to emulate this procedure in CVI ?

David
0 Kudos
Message 1 of 3
(3,208 Views)
Please see the movectrl example which comes with CVI and which you can find under \CVI\samples\userint\custctrl\movectrl\movedemo.prj

Regards,
Heinrich Illig
National Instruments
0 Kudos
Message 2 of 3
(3,208 Views)
I think your question is more about the UIR editor and not about how to "capture mouse move event".
The LabWindows UIR editor and the LabView front panel editor work differently. I'm not aware of any options to make them work the same.
In LabView, when you select a control from the palette and start to place it on your front panel, you see the only an outline of the control which you can move without clicking a mouse button. You left-click to place it. After your first left-click, you need to click and drag to move it.
In LabWindows CVI, when you select a control from the palette, it's immediately placed on the panel at the current mouse position. You need to click and drag it to move it.
0 Kudos
Message 3 of 3
(3,208 Views)