I have a canvas which is larger than screen. Thats how it is always hence I have set scroll bars to it. This canvas is kind of a layout of an office floor where each workstation is denoted by an icon. User is provided an option to swap the workstations by doing drag & drop of the icons from X to Y position.
Lets say the user wanted to move a workstation from top-left to bottom-right of the cavans. He has to drag the workstation all the way down, which requires the canvas to do autoscrolling towards bottom-right when the user is engaged in dragging the workstation icon. I am a newbie, and having trouble in implementing autoscrolling for the canvas. Have you come across such situations? How did you solve it? If possible please point me some samples.