Re: TNotifyEvent
- From: Fons Rave <fonzzz-at-xs4all-dot-nl>
- Date: Fri, 23 Jun 2006 23:23:39 +0200
Thanks; the suggested code does what I want.
Fons.
.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.
- References:
- TNotifyEvent
- From: Fons Rave
- Re: TNotifyEvent
- From: Rob Kennedy
- TNotifyEvent
- Prev by Date: Re: Server Database - MySQL?
- Next by Date: What unit to find functions and procedures?
- Previous by thread: Re: TNotifyEvent
- Next by thread: calculator
- Index(es):