Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Canvas horizontal scrolling - Not working  RSS feed

chandrayya kumarswamimath
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote the below program to scroll the part of the canvas.

But facing the below issues:

In horizontal scrollbar listener am not able to detect the events on scrollbar. Nothing is printing here.
When I drag the scrollbar thumb or click on the area between thumb and LEFT or RIGHT arrow button or LEFT ARROW button , the code is not working(Not scrolling properly).
Can anyone point out the bug in this code? I am not understood how scrolling is happening. Can Somebody please provide me the links, tutorials/screen cast about SWT,Canvas and scrolling.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!