• Post Reply Bookmark Topic Watch Topic
  • New Topic

synchronize two SWT scrollbars  RSS feed

Jack clouseau
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Currently, I have two tables each with their own scrollbars. When I move one scrollbar, the other scrollbar also moves. But the other table will not scroll (so only the scrollbar moves, the table doesn't). I've tried refreshing, updating, redrawing the table, but nothing seems to make the table itself scroll.

To make the other scrollbar move, I have a SelectionListener and in widgetSelected, I set setSelection of my scrollbar with the value of the other scrollbar. And this only updates the scrollbar.
can anyone help?

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!