Probably scheduler.Schedules.Add.MethodName(@Test_A);
Dave. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Tishler Sent: Thursday, 20 May 2004 9:51 a.m. To: NZ Borland Developers Group -Delphi List Subject: [DUG] Question on use of Triton Tool TAHMScheduler I am trying to use TAHMScheduler (from Triton Tools), but I am having problems defining the tasks to be scheduled. I use the following ... scheduler.Schedules.Add.TriggerTime := '17:30'; scheduler.Schedules.Add.MethodName(Test_A of AppMainForm)); where Test_A is a valid Procedure in AppMainForm that I would like invoked at 17:30 I have also tried the following syntax ... scheduler.Schedules.Add.TriggerTime := '17:30'; scheduler.Schedules.Add.MethodName(Test_A)); both yield the same compiler error: [Error] uMain.pas(5489): Incompatible types: 'procedure, untyped pointer or untyped parameter' and 'Pointer' Can you help me please? Thank you, Eric Eric Tishler Software Architect Resolute Partners, LLC Phone: 203.271.1122 Fax: 203.271.1460 [EMAIL PROTECTED] _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
