Joshua Higgins ha scritto: > This is my code, but it doesn't seem to work. > > PUBLIC SUB Main() > > DIM timer1 AS NEW Timer > You must specify the clause ' AS "timer1" ', because no events will be fired otherwise.
DIM timer1 AS NEW Timer as "timer1" Not really sure you can do that, may be you must DIM the timer and then do timer1 = new timer as "timer1". Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user