LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scroll picture through draging on picture, without using scroll bars

Hello every one

My appliction is to hold and drag the picture without using scroll bars . ( Like we drag the map in google maps ) 

I have started but not able to complete 

Please see the attached vi

0 Kudos
Message 1 of 2
(2,016 Views)

This is called panning and you can find an example in this thread - http://forums.ni.com/t5/LabVIEW/Move-picture-inside-of-the-picture-control/m-p/623697?view=by_date_d...

 

The Code Capture Tool also includes an example of this in its source code (the preview of the capture can be panned), which also demonstrates one way of handling only some of the mouse move events (which is important, because usually there are too many events and you want to discard some of them).


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,009 Views)