godatguitar
Programmer
Hi
I have a scrollbar that is attached to the canvas, and the scrollbar resizes itself correctly to the size of canvas, and the scrollregion, and the bar itself scrolls nicely. However, it does not scroll the canvas with it. The canvas does not move at all. I am completely stuck, as i am new to this, and i have another thread here about the same problem, i was helped but to no avail. It should work, as they are attached, and the bar is told to control, via command, the canvas (.top23.can24 yview) and the canvas is told that the yscrollcommand is .top23.scr23 set, ie the scrollbar (.scr23) controls it.
I am desperate for help, so if anyone knows whats wrong, please reply!
Many thanks
I have a scrollbar that is attached to the canvas, and the scrollbar resizes itself correctly to the size of canvas, and the scrollregion, and the bar itself scrolls nicely. However, it does not scroll the canvas with it. The canvas does not move at all. I am completely stuck, as i am new to this, and i have another thread here about the same problem, i was helped but to no avail. It should work, as they are attached, and the bar is told to control, via command, the canvas (.top23.can24 yview) and the canvas is told that the yscrollcommand is .top23.scr23 set, ie the scrollbar (.scr23) controls it.
I am desperate for help, so if anyone knows whats wrong, please reply!
Many thanks