Re: Can't browse sub objects...

Valery Fine (fine@mail.cern.ch)
Mon, 20 Oct 1997 10:35:44 +0100


On 19 Oct 97 at 19:56, Gordon Watts (Brown Universit wrote:

> BTW. I've been using the Event test as an example... Guess what --
> that
> guy totally works. So I'm forgetting some (small?!?) that will make
> mine work. I've been pooring over that example for the past hour and
> I can't see what I've forgotten. If anyone else spots it...

I wonder you forgot (missed) to implement

virtual Bool_t TObject::IsFolder();

By default it looks as followes:

/__________________________________________
Bool_t TObject::IsFolder() {
// Returns kTRUE in case object contains browsable objects (like
containers
// or lists of other objects).
return kFALSE;
}
Dr. Valeri Faine (Valery Fine)
------------ ------------- Phone: +41 22 767 4921
CERN FAX : +41 22 767 7155
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine