hi, well, i just tried:
TmyComp = .. constructor myTest(const aEvent:TNotifyEvent); .. implementation .. TmyComp.myTest(nil); which works fine.. are you able to post a code snippet? cya! ben --- Neven MacEwan <[EMAIL PROTECTED]> wrote: > Hi > > I have a constructor which I pass a TNotifyEvent to, This works fine > but > how do I pass it a nil TNotifyEvent ? nil is an invalid Typecast > > Any ideas > > Regards Neven > N.K. MacEwan B.E. E&E > Ph 649 621 0001 > Fax 649 621 0400 > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
