Yo this works
 
constructor TmwkMetaEdit.Create(AOwner: TComponent);
const
  NilNotifyEvent: TNotifyEvent = nil;
begin
  Create(AOwner,NilNotifyEvent,nil);
end;
:-)
 
Neven
----- Original Message -----
Sent: Thursday, August 22, 2002 5:32 PM
Subject: RE: [DUG]: Nil TNotifyEvent

does this do what you want?

const
  NilNotifyEvent: TNotifyEvent = nil;

 -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan
Sent: Thursday, 22 August 2002 15:03
To: Multiple recipients of list delphi
Subject: [DUG]: Nil TNotifyEvent

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]

Reply via email to