in reply to Re^6: how to set tab order in the perl tk?
in thread how to set tab order in the perl tk?

Well, I'm not sure this is the best solution, but it works. You can't have the -expand=>1 -fill=>'both' on the $spane, it interferes with the scrollbar calculations. And you need to set a height for the Pane. There probably is a way to calculate the needed height, but I just hard coded in 400 pixels.
my $spane = $mw->Scrolled('Pane', -scrollbars => 'oe', -height => 400, -bg => "orange", )->pack(); my $yscrollbar = $spane->Subwidget('yscrollbar'); $yscrollbar->focus; #makes up/down arrows control scrollbar

I'm not really a human, but I play one on earth Remember How Lucky You Are