Hello all,
i have a Pad with a TLegend object in it. It is listed when i do
gPad->GetListOfPrimitives()->Print()
TFrame X1=0.000000 Y1=0.000000 X2=1.000000 Y2=0.100000 FillStyle=1001
...
TLegend X1=0.823529 Y1=0.057831 X2=0.929412 Y2=0.092771 FillStyle=1001
TLegendEntry: Object HExp Label Exp Option l
...
TLine X1=0.380000 Y1=0.000000 X2=0.380000 Y2=0.100000 Width=0
TArrow X1=0.380000 Y1=0.075000 X2=0.440000 Y2=0.075000 Width=0
But if i try to find it,
gPad->GetListOfPrimitives()->FindObject("TLegend")
will always return zero (0x0), whereas
gPad->GetListOfPrimitives()->FindObject("TArrow")
will give me a pointer to the TArrow object. Is there something special
about the TLegend, or how can i get a handle on it ?
Thanks
Sebastian Boeser
---------------------------------------------------
\|/ Sebastian Böser
/ ~~
@--OO Rinkartstr. 3
\ ? 12437 Berlin
\ v Tel: 030 / 532 19 008
|| sboeser@ph.tum.de
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET