From: Jason Persampieri Date: 2002-12-11T10:06:09+09:00 Subject: Re: FXRuby : Setting Default Height/Width in an FXList Yeah... Unfortunately, I'll need many thousands of these. And there's either a memory or speed (or both)issue with that :) Not to mention the user will be able to dynamically create these steps on their own. Jason --- David Naseby wrote: > >-----Original Message----- > >From: Jason Persampieri > [mailto:jason@persampieri.net] > >Sent: Wednesday, 11 December 2002 11:41 AM > > > >Here's my latest issue: > > > >I'm attempting to wipe everything from one area and > >replace it with some other widgets. I have two > >strategies. > > > >(1) delete and recreate the parent > >(2) delete all the child widgets of parent > (3) Hide the parent in an FXSwitcher, and expose the > preprepared newParent. > > The third stategy depends completely on how much you > know at build time - > use an FXSwitcher pane and instead of destroying a > frame, just switch the > other one in. Its probably easiest, risks a leak the > least (not that there > would be one in FXRuby, of course), and has more > clarity than throwing up > new bunches of widgets willy nilly. > > HTH > David Naseby >