Hi Michael, > Dear Rooters, > > Does anyone know how I can (if I can) get a browser, which I am opening > in a compiled program, to return the name of the object (histogram) > as I double click on it... > More generally, is there a way to add function calls that are executed > when an event is generated in a TBrowser? I can't find a > ProcessEvents(..) function for that class... TBrowser GUI events are processed at TRootBrowser class. You can write your own class inherited from TRootBrowser and overwrite ProcessEvents method. However, to meet your request we introduced new signal DoubleCicked(TObject*) to TRootBrowser class which is emitted when double clicking on icon. I added diff.file at attachment and small example how to use it. Regards. Valeriy
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET