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