Dear Valeriy, Thanks for the prompt reply But I still have questions. In this line, how do we make a "gMyClassObject" global in the main program? Should we use "gROOT->Loop()"? > MyClass->Loop() is not correct. Shoud be gMyClassObject->Loop(), > where gMyClassObject is global MyClass object It it? MyClass * gMyClassObject = new MyClass(....); Then place the line, gMyClassObject->Loop() as an argument of TButton. > Good start would be using http://root.cern.ch/root/htmldoc/TControlBar.html > as it's done in tutorials/demos.C macro. Yes, this is very useful. However, I would like to move to the second step. I wanted to move forward, next, etc... Thanks again. -- -------------------------------------------------------- Zaldy A. Nawang PS Users Room 2 Yon Gokan, E362, Neutrino Group, IPNS, KEK, Japan e-mail: zaldy@neutrino.kek.jp Tel. No. : (81) 029864 - 5387 --------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET