in reply to TK ListBox Scrolling

I did a Google search on "tk listbox scrollbar" (without the quotes) and found this example in Python (the first returned result):
frame = Frame(master) scrollbar = Scrollbar(frame, orient=VERTICAL) listbox = Listbox(frame, yscrollcommand=scrollbar.set) scrollbar.config(command=listbox.yview) scrollbar.pack(side=RIGHT, fill=Y)listbox.pack(side=LEFT, fill=BOTH, e +xpand=1)
Translation to perl should be straight-forward. Basically, you need to create a Scrollbar widget, configure its command to notify the Listbox, and configure the Listbox to notify the Scrollbar via the Scrollbar's set method. Try this out, and let us know if it works.

Replies are listed 'Best First'.
Re^2: TK ListBox Scrolling
by SteveS832001 (Sexton) on Mar 06, 2008 at 16:00 UTC
    I found that example on my search too, I just figured that the Listbox would have an option
    without having to do the above. But I will give it a wack and post back in a few