>   if (Source <> Nil) and (Source is TMyClass) then

Doesn't the IS operator return false if the instance is nil?

I thought it was the AS operator that allowed nils through

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to