Re: [Fxruby-users] Deleting widgets
Status: Inactive
Brought to you by:
lyle
From: Phil S. <ps...@oz...> - 2003-10-10 13:58:28
|
On Fri, 10 Oct 2003, Meinrad Recheis wrote: > Phil Sharp wrote: > > > After adding an FXLabel to a FXHorizontalFrame, I destroyed the label, > > then attempted to add a new one. The new one was created ok except that > > it's placement was offset as if the one that I just deleted was still > > there. > > > > Is there another step that must be taken to cause the frame to "forget" > > about the just deleted widget? > > i think again recalc will do the job. > you might want to go to the fox-toolkit site and read the faq. there is > an entry about update, recalc and forceRefresh. > > > > > Thanks. > > > > cheers, > henon > I had only been reading the docs available at fxruby.sourceforge.net so I will be sure to check the fox-toolkit site as well. I did discover that if I did a .hide, before the .detach and .destroy it worked as expected. Phil Sharp |