You cannot pass Frame widget to Scrolled.I know you can(works for me).
Anonymous Monk isn't showing enough code, but my ESP tells me he's got a logical error (not packing the frame he needs/wants it or not having it as a child of his scrollable frame or something).#!/usr/local/bin/perl -W #tk.scroll.frame.pl use Tk; use strict; use vars qw($top $drop); $top = new MainWindow; $top->Label(-text => "Enter the scroll frame")->pack; $top = $top->Scrolled('Frame', -scrollbars => "osoe",)->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; $top->Label(-text => "Inside the scroll frame")->pack; MainLoop;
update: screenshot on my Win2K box, perl5.6.1, Tk 800.025.
In reply to Re: Re: Scrollbars in Perl::Tk
by PodMaster
in thread Scrollbars in Perl::Tk
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |