my $Scrolled_Search_Listbox = $mw->Scrolled( q{Listbox}, -background => "white", ... );
The following code is from an application with scrolling listboxes that were simple to implement.
my $dateSelectFrame = $mainWin->Frame( -relief => q{flat}, -borderwidth => 2); $dateSelectFrame->pack( -side => q{top}); my $dateSelectList = $dateSelectFrame->Scrolled( q{Listbox}, %commonListboxOpts, -width => 15, -height => 6, -setgrid => 1); $dateSelectList->pack( -padx => 5, -pady => 5, -fill => q{y}, -expand => 1, -anchor => q{n});
I hope this is helpful.
Cheers,
JohnGG
In reply to Re: TK ListBox and Scrollbar
by johngg
in thread TK ListBox and Scrollbar
by SteveS832001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |