LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

pop out circle when click on panel_picture

Solved!
Go to solution

Hi,

 

I just wanted to know if it's possible to pop out a circle when I click on my panel_picture or a solution to workaround ?

 

I have a picture and when I click on it I want to draw my path.

 

Thanks

0 Kudos
Message 1 of 3
(2,839 Views)
Solution
Accepted by topic author ZazOufUmI

A picture control cal respond to EVENT_LEFT_CLICK event, as discussed for example in this thread.

To show some graphic element on the screeen you can for example have some hidden picture controls set with transparent background with the appropriate element and position + show on the click event; alternatively you can move your image to a canvas and draw directly on the canvas. Regarding the canvas there is a godd example that you can look for using the example finder (Help >> Search example with keyword CANVAS).



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,829 Views)

Ok thank you I didn't know that it was possible to load an image to a canvas !

0 Kudos
Message 3 of 3
(2,821 Views)