* * *

Author Topic: TTimer and TIdleTimer  (Read 4581 times)

mikiwoz

  • Full Member
  • ***
  • Posts: 130
TTimer and TIdleTimer
« on: November 08, 2004, 12:22:54 am »
What is the difference between TTimer and TIdleTimer components?

dotniet

  • New member
  • *
  • Posts: 45
Re: TTimer and TIdleTimer
« Reply #1 on: October 09, 2009, 08:27:17 pm »
bump

Martin_fr

  • Hero Member
  • *****
  • Posts: 1218
Re: TTimer and TIdleTimer
« Reply #2 on: October 09, 2009, 08:58:15 pm »
It is somewhat what the name says.

An easy way to find out is to look it up in the source, it is a few lies of code only.

for TTimer you must set Enabled:=true/false yourself, if you want it running or not.

for TIdleTimer you can define this to happen when your app gets idle or busy. (or not at all AutoEnabled:=false; )

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads