Solved

setting  timer advise needed

Posted on 1999-01-15
2
141 Views
Last Modified: 2010-04-06
hello there
i need a event(simple screen capture) to trigger every 15-20 minutes .The question is what is the best way to do it.The timer that is(not the capture).
i would prefer to be as near to 20 minutes as possible
Any Assistance appreciated
Regards Barry
0
Comment
Question by:inthe
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1356846
Use a TTimer. Set the enabled property to true, and the interval property to 20*60*1000 milliseconds. Your OnTimer event will be fired every 20 minutes.

For small numbers of timers they are OK, for larger numbers they are resource hogs and can be managed in better ways.

Cheers,

Raymond.
0
 
LVL 17

Author Comment

by:inthe
ID: 1356847
thanks Raymond
now i feel silly
i thought timer had a limitation and i could'nt set it that long
oh well nevermind,live and learn
Regards Barry
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 328
QRReport  TQrmemo vertical stretching 1 53
control image tags in a string ? 12 142
delphi popmenu non latine charcters 3 13
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question