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

2010-07-09 Thread Graeme Geldenhuys
Op 2010-07-09 09:54, luca_mangane...@comune.trento.it het geskryf: > > How can I do it? You don't say what GUI toolkit you are using, but either way, the usage should be very similar. Here is a working example of what you want using fpGUI Toolkit. Basic usage: * you set the interval in millis

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

2010-07-09 Thread luca_manganelli
Hi, 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()