[ROOT] how to change the "title" of a pad

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Fri Feb 22 2002 - 09:24:43 MET


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