posted 11 years ago
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.