in reply to Tk::Canvas' response to keystrokes
You made your canvas scrollable, i.e. the canvas is bigger as the viewable area displayed. I tried your script and all cursor keys moved the canvas, not only the left-arrow key. Not sure if you meant that or your operation system (which seems to be windows) or something else mucks about with the other cursor keys
By far the easiest solution to your problem: Make the viewable area the same size as the canvas.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk::Canvas' response to keystrokes
by TomKane (Beadle) on Feb 08, 2009 at 15:22 UTC |