synchronize two or more scroll bars (or scroll bars of listboxes)

11 次查看(过去 30 天)
Hello Matlabers
imagine that there are 2 or more scroll bars (or scroll bars of listboxes) and if the user scrolls one of them, then the rest of scroll bars move harmony and synchronize with the scrolled one.
any help i will appreciate it. thanks in advance

回答(1 个)

lokender Rawat
lokender Rawat 2018-5-15
编辑:lokender Rawat 2018-5-15
You can write function callback for this. You can refer the below documentation link on how to write callbacks:
I have attached two sample files for a similar use-case where all the list-boxes move in harmony when you move the slider. You can read few similar MATLAB answers:

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by