Re: TNotifyEvent
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Thu, 22 Jun 2006 11:35:55 -0500
Fons Rave wrote:
var X, Y : TNotifyEvent;
begin
X := nil; { *1 }
Y := X; { *2 }
if X = nil then ; { *3 }
if not Assigned(X) then ;
if X = Y then ; { *4 }
if (TMethod(X).Code = TMethod(Y).Code) and (TMethod(X).Data = TMethod(Y).Data) then ;
The compiler does not allow comparison of method-pointer types.
--
Rob
.
- Follow-Ups:
- Re: TNotifyEvent
- From: Fons Rave
- Re: TNotifyEvent
- From: Fons Rave
- Re: TNotifyEvent
- References:
- TNotifyEvent
- From: Fons Rave
- TNotifyEvent
- Prev by Date: TNotifyEvent
- Next by Date: Re: RichEdit Size
- Previous by thread: TNotifyEvent
- Next by thread: Re: TNotifyEvent
- Index(es):