LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cursor moving and autosize of Image Display

I have LabVIEW 7.1 and vision7.1. I want the size of Image Display in the front panel to be auto enlarged when the cursor is moving into its field and to be auto shrunk when the cursor is out of it. how can I do?
thank you very much
0 Kudos
Message 1 of 4
(2,784 Views)
Use an even structure with the following two event cases. (1) "Image Display":mouse enter (2) "Image Display":mouse leave. In event case (1), you programmatically zoom in, and in event case (2), you zoom out.

(If you want to pan around in the zoomed-in display as a function of mouse position, it gets slighly more complicated.)
0 Kudos
Message 2 of 4
(2,784 Views)
I don't have vision, but the technique should be universal.

Here is a quick example in LabVIEW 7.1, is that what you had in mind?
0 Kudos
Message 3 of 4
(2,784 Views)
Thank you very much.
I think it will do the work.

yours
jing
0 Kudos
Message 4 of 4
(2,784 Views)