Can TButton be used in copiled mode ?

From: Yongzhao Zhou (Yongzhao.Zhou@lnf.infn.it)
Date: Mon Oct 11 1999 - 18:07:12 MEST


Dear Rooters,
I tried the examples but() in the Class Description of TButton on web as a
macro via the CINT and got successful, but got a failure in compiled mode
(in a program) and got an error message:
    Error: No symbol exitDrawAll() in current scope
    FILE:/var/tmp/aaaa12267 LINE:1
    *** Interpreter error recovered ***
And same error message was happened to my program. My codes are:
    char *actBut="exitAllDraw()"
    TButton *but3 = new TButton("Exit Draw All",actBut,.72,.02,.95,.060);
or
    TButton *but3 = new TButton("Exit Draw All","",.72,.02,.95,.060);    
    but3->SetMethod("exitDrawAll()");
Is that meanning of that TButton just can be used in CINT and can not be
used in the compiled mode?
Thanks for some help.
Best,
ZYZ 
------
Yongzhao Zhou, KLOE, LNF, INFN, Italy
Tel:39-06-94032696 Fax:39-06-94032427



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET