[fpc-pascal] TFPTimer: how can I use it to closse a window?

luca_manganelli at comune.trento.it luca_manganelli at comune.trento.it
Fri Jul 9 09:54:22 CEST 2010


I've made a really simple application, that shows a simple dialog box with
current time.

I want it to close itself after 15 seconds.

I tried to use TFPTimer, but there are no examples on documentation and so
I have no idea how to use OnTimer property to call a procedure with
TForm1.Close() instruction inside.

How can I do it?

More information about the fpc-pascal mailing list