Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Double click event on a specific part of a Display Image

Solved!
Go to solution

Hello to all.

First of all thanks a lot for reading this post and being able to help.

 

I would like to catch a doble click event on a Display Image.

The poblem is that I do not want to catch it if user has clicked on "Image Area" of Display Image, I want to catch it only if user has clicked on the edge of Display Image . Is there any way of knowing where in the Display Image has been clicked the user?

 

Thanks a lot!!

0 Kudos
Message 1 of 7
(3,837 Views)

First of all understand how forum works.

-You should make your question solved and mark solution once solved.

http://forums.ni.com/t5/LabVIEW/Double-click-mouse-event-to-change-display-size/m-p/3325556#M975216

-You should provide code or snippet what you tried and didn't work.http://www.ni.com/tutorial/9330/en/

Thanks
uday
0 Kudos
Message 2 of 7
(3,822 Views)

ok sorry.

Any help?

0 Kudos
Message 3 of 7
(3,815 Views)

You have to be creative to make things work..!

For double click event I know you got the solution and for image border doublke click ..you can put a transparent 'Flat Box in Decoration' to disable region for click..!

Make sure to attach your efforts next time.!

0 Kudos
Message 4 of 7
(3,811 Views)

Thanks a lot for replying.

 

I think it does not work for me because I need to do zoom in image area so if I put a transparent Flat Box in image area I won't be able to do zoom...

0 Kudos
Message 5 of 7
(3,806 Views)
Solution
Accepted by topic author A.Salcedo

In the event, you can get the coordinates of mouse click and if it is not inside your image area you can catch it.

Thanks
uday
0 Kudos
Message 6 of 7
(3,801 Views)

Thanks a lot, it can work!

0 Kudos
Message 7 of 7
(3,799 Views)