From: David Naseby Date: 2002-12-11T09:47:57+09:00 Subject: Re: FXRuby : Setting Default Height/Width in an FXList >-----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