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

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 个)

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:

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

提问:

joe
2018-5-3

Community Treasure Hunt

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

Start Hunting!

Translated by