Hi Jacek, The TPaveText "title" is redrawn each time the pad is redrawn using the histogram title. To change this title, do hist->SetTitle("new title") or (same thing) using the "SetTitle" item in the histogram context menu. Rene Brun Jacek M. Holeczek wrote: > > Just a stupid question. > In a pad I draw a histogram with a title. This title goes into a TPaveText > "title" on top of the pad. That's fine, but ... I would like to change > this title afterwards. Somehow I cannot find any way to insert another > text there. I can : > ((TPaveText *)(MyPad->FindObject("title")))->Clear() > and it is really cleared, but then whatever I do the old text reappears. > The root is 3.02/07 in a RH6.2/i386 with egcs-1.1.2. > Thanks in advance, > Jacek.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET