User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Pascal and Delphi section within the Software Development category of DaniWeb, a massive community of 401,599 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,732 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.

[DELPHI] how to set event procedure runtime?

Join Date: Mar 2008
Posts: 7
Reputation: mfran2002 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mfran2002 mfran2002 is offline Offline
Newbie Poster

[DELPHI] how to set event procedure runtime?

  #1  
May 7th, 2008
hi everybody,
i'm going to set the procedure for OnTimer event runtime but i don't know how...
i've written the following (WRONG) program, can someone help me?

var
Timer1: TTimer;

procedure PROC(Sender: TObject);
begin .. end;

begin
Timer1.Create(Timer1) ;
Timer1.Interval := 2000;
Timer1.OnTimer := PROC;
end;
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 4:50 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC