Re: [fpc-pascal] non visual timer win32

2010-10-19 Thread Graeme Geldenhuys
Op 2010-10-18 22:44, Justin Smyth het geskryf: Guys i have an app on win32 that runs a timer when a form is hidden , any ideas how i get a timer to work when the form is hidden ? Timers (TTimer and FPTimer) are not related to forms, so they will run even without a form instance.

Re: [fpc-pascal] non visual timer win32

2010-10-19 Thread Felipe Monteiro de Carvalho
MyTimer := TTimer.Create(Application); MyTimer.OnTimer := myHandler; -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] non visual timer win32

2010-10-19 Thread Graeme Geldenhuys
Op 2010-10-19 10:17, Felipe Monteiro de Carvalho het geskryf: MyTimer := TTimer.Create(Application); MyTimer.OnTimer := myHandler; or even MyTimer := TTimer.Create(nil); MyTimer.OnTimer := myHandler; ...later when application terminates... MyTimer.Free; Regards, - Graeme - --

[fpc-pascal] non visual timer win32

2010-10-18 Thread Justin Smyth
Guys i have an app on win32 that runs a timer when a form is hidden , any ideas how i get a timer to work when the form is hidden ? Kind Regards Delphian___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org