[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] timers in console app
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2009-02-01 19:07:16
Message-ID: 200902012007.16159.gambas () users ! sourceforge ! net
[Download RAW message or body]

On dimanche 1 février 2009, Benoit Minisini wrote:
> On dimanche 1 février 2009, Joshua Higgins wrote:
> > This is my code, but it doesn't seem to work.
> >
> > PUBLIC SUB Main()
> >
> >   DIM timer1 AS NEW Timer
> >   timer1.Delay = 100
> >   timer1.Enabled = TRUE
> >
> > END
> >
> > PUBLIC SUB timer1_Timer()
> >
> >   PRINT "hello"
> >
> > END
> >
> > Whats wrong here?
>
> See the documentation of NEW: if you don't specify an event time, your
> timer will never raise events.                               ^
>                                                             /|\
> Regards,                                                     |
                                                               |
name ----------------------------------------------------------'

-- 
Benoit Minisini

------------------------------------------------------------------------------
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic