Re: TNotifyEvent



"Fons Rave" <fonzzz-at-xs4all-dot-nl> wrote in message
news:449ad7b1$0$31643$e4fe514c@xxxxxxxxxxxxxxxxx

if (TMethod(X).Code = TMethod(Y).Code) and (TMethod(X).Data =
TMethod(Y).Data) then ;

Are .Code the program-code and .Data the local variables ?

They are the fields of the TMethod record type.


If so, only the .Code-test isn't enough ?

The Data field is there because it has a function. It supplies
the context in which the method will be executed; the Self
object.

Groetjes,
Maarten Wiltink


.