Hi Colin, this is not possible at the moment. I'll provide a method to navigate the browser so you can set it to a specified directory. Cheers, Fons. PS: best to file an "enhancement request" via our web page so your request gets properly logged in our database. Colin Partridge wrote: > > I wish to use a TBrowser to browse the contents on a TMapFile. At the > moment I am just using the hprods.C macro supplied in the tutorials to write > to the mapfile, and use the following code to open the browser. > > mFile = TMapFile::Create("hsimple.map"); > TBrowser* b = new TBrowser("browser","MapFile Browser"); > mFile->Browse(b); > > I get the same result with or without the last line. Is there anyway to get > the Browser to go directly to the contents of the mapFile without having to > navigate from the ROOT directory. > > Cheers > Colin > -- > Colin Partridge > stack@lineone.net > http://website.lineone.net/~stack/ -- 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 04 2000 - 00:43:39 MET