Hi Reiner, I've added a SetTitle() method to TGGroupFrame. Also in your case you need to add probably an "fClient->NeedRedraw(this)" call after changing the title text to force the refreshing of the TGGroupFrame. Cheers, Fons. On Thu, Jan 04, 2001 at 11:22:49AM +0100, Reiner Rohlfs wrote: > Hi Root Team > > I want to update the title in a TGGroupFrame. I'm able to set a new title > (fText) in a class derived from TGGroupFrame. But the old frame and the old > title are not removed from the screen and the new title are printed above the > old one. > Is there a function to update the screen correctly, to remove the old frame and > the old title? > I noticed, it works fine when I resize the whole window with the mouse. > > Thanks Reiner. -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET