PDA

View Full Version : How to call a function every 30 sec...?


aRTx
08-31-2008, 02:54 PM
please tell me, how to call a function every 30 sec...


example let function be a message

aRTx
08-31-2008, 03:23 PM
I have done that, it's easy
On Preload of page
Page.StartTimer(30000) --fires On Timer actions once every 5 seconds

and in On Timer
write the function

but I have another request.

How to hide the application window, I just want to use the function from it, Is this possible?

rexxarspain
09-04-2008, 07:52 AM
To full hide go to Project > Settings and put hidden in taskbar zone, then minimize the app and he disappear.

Put an Application.Minimize(); code in On Show page to minimize when u open the app.

Srry for my poor english :o

Worm
09-04-2008, 08:01 AM
Window.Hide(Application.GetWndHandle())