I have a listbox with a scrollbar, but the scrollbar has some problems. First, It's really small, and second, when I click on the scrollbar arrow, the list will scroll, but only once. What is going on? Here is some script:
use Tk;
$homelist = $homeframe->Listbox(
-height=>20,
-background=>white,
-width=>120);
$homelist->pack(-side=>left);
$homelist->bind("<Double-1>",[\&open]);
$homelist->yview(scroll,1,units);
$scrollbar = $homeframe->Scrollbar(-command=>[yview=>$homelist]);
$scrollbar->pack(-side=>right);
Thanks, Mark
use Tk;
$homelist = $homeframe->Listbox(
-height=>20,
-background=>white,
-width=>120);
$homelist->pack(-side=>left);
$homelist->bind("<Double-1>",[\&open]);
$homelist->yview(scroll,1,units);
$scrollbar = $homeframe->Scrollbar(-command=>[yview=>$homelist]);
$scrollbar->pack(-side=>right);
Thanks, Mark