LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scroll images simultaneously

Solved!
Go to solution

How to synchronize the scroll bars of 2-D picture control?

 

Image1 scroll bar = Image 2 scroll bar (or vice versa)

2D Images.png

0 Kudos
Message 1 of 4
(3,125 Views)
Solution
Accepted by topic author V_T_S

Use a mouse down or mouse move event on each of the images to detect when someone might be moving the scrollbars.

 

Read the Origin property of one image and write it to the Original property node of the other image.

Message 2 of 4
(3,118 Views)

Alternatively you can place free scrollbars and use their value change-event to sync and trigger the others. 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(3,089 Views)

I was searching for non available property (something like ScrollPosition). Mouse move works great, Thank you!

0 Kudos
Message 4 of 4
(3,044 Views)