in reply to Tk Scrolled problem

You have also to set the scrollregion of the canvas. The easiest is to write

$sf_makefiles->configure(-scrollregion => [ $sf_makefiles->bbox("all") ])

However this may or may not work if you're not creating "real" canvas items. Is there a reason why you're using a Canvas and not a Pane?

Replies are listed 'Best First'.
Re^2: Tk Scrolled problem
by vikee (Sexton) on Jun 20, 2004 at 18:41 UTC
    thanks for answer, I'll try.
    
    >Is there a reason why you're using a Canvas and not a Pane? 
    
    No, it was the first thing I'd tried. 
    
Re^2: Tk Scrolled problem
by vikee (Sexton) on Jun 21, 2004 at 15:36 UTC
    hello, it didn't work. So I replaced Canvas with Pane, scrollregion is not needed and it works thanks. :-)