>From what I recall, Delphi will use the newly defined Changed Boolean
instead of the protected property with no problem.  If what Vincent is
saying is true, I think that FPC should have thrown a warning like private
variable "Changed" is hiding protected TControl.Changed or something like
that.  Does it?




-----Original Message-----
From: Vincent Snijders [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 02, 2006 3:38 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] Lazarus and Delphi: boolean expression expected, but
got "untyped"


TControl has a protected method 'Changed'. So if you used this code in a
  method of TForm and Changed is a global variable, then it is out of scope.

Vincent



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to