LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get a "mouse over" event of a line drawn on a picture?

I am using the "draw multiple lines" vi and want to be able to select a line using the mouse.  From the picture properties I can tell when the mouse is over the picture, but not when the mouse is over a line drawn on the picture.
 
Thanks for any help with this.
 
Jon
0 Kudos
Message 1 of 2
(2,503 Views)
I think you would have to keep a side database of each object that is selectable and select them from a list. If you look inside some of the picture control functions you will see that it is an array of drawing commands. You don't have access to the z-buffer, so you don't know what pixels were set by their Brenshaw but the z-buffer is the array of drawing commands. If you want to change things that are already laid down then it would have to be more like how visio cycles through the components of groups when you click where each click brings up the control points of the component parts.
0 Kudos
Message 2 of 2
(2,481 Views)