On Tuesday 01 July 2008 03:30:12 pm Nate Lowrie wrote: > On Tue, Jul 1, 2008 at 4:28 PM, Ed Leafe <[EMAIL PROTECTED]> wrote: > > On Jul 1, 2008, at 5:18 PM, Nate Lowrie wrote: > >> Well, I am particularly retarded on this point. Fixed my own problem > >> after I got the cobwebs shaken out... > > > > No harm done, since I haven't had a chance to look into the code. > > Was it just a typo, or was it a mistake that others can learn from? > > def _addSearchPanel(self, spacer=True): > self.Form.Freeze() > if spacer: > self.Sizer.appendSpacer(5) > > pnl = self._partSearchClass(self) > pnl.FieldEntry.Choices = self._fieldChoices > self.Sizer.append(self._partSearchClass(self), "expand") > > self.Form.layout() > self.Form.Thaw() > dabo.ui.callAfterInterval(50, self._tickle) > > Notice how I declared pnl and then added a completely new instantiated > object to the sizer? > > Nate L.
I've never done that;) -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
