I recently included this very nice recipe for the multilistbox in my application:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52266
however I can't seem to get it to fit into a scrolledframe, this is what I do:
/snip
self.frame1 = Pmw.ScrolledFrame(page,
labelpos = 'n',
label_text = 'Database',
vertflex="elastic")
self.frame1.pack(fill="both", expand=1)
/snip
/snip
columns = tuple([x[0:1] for x in fg.fields])
columns2 = tuple([x+(15,) for x in columns])
self.mlb = MultiLB.MultiListbox(self.frame1.interior(), columns2)
for i in range(len(fg.data)):
self.mlb.insert("end", fg.data[i])
self.mlb.pack(expand=1, fill="both")
/snip
the horizontal scrollbar is displayed correctly, but the vertical scrollbar is only visible when you scroll to the far right side of the screen.
So, apparently it is added to the last listbox in stead of to the scrolledframe itself.
Any suggestions, anyone?
Thanks,
Dimitri
--
--
Please visit dimitri's website: www.serpia.com
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss