LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change active palette tool, when mouse cursor hover on graph cursor

Solved!
Go to solution

I want change cursor type when mouse hover on graph cursor, but I get error 1077.palette_error.png

0 Kudos
Message 1 of 4
(1,386 Views)
Solution
Accepted by topic author segadron

Does this only happen when you click the mouse down? It seems you cannot change the cursor when the mouse is down, so you should make sure the mouse is not down before changing it. Also, I edited so it will stop the for loop if you find a match, otherwise when you have multiple cursors it will not find a match if they have different x-coordinates.

 

You should also try to match X and Y (set equals to compare aggregates), and you should only update the cursor if there is a change since the last time you updated it.

 

0 Kudos
Message 2 of 4
(1,367 Views)

Thanks!

0 Kudos
Message 3 of 4
(1,313 Views)

But it don't work if I will add "Scale Range Change" event

0 Kudos
Message 4 of 4
(1,286 Views)