
| Subject: | Bug in Error insight in Delphi 2010 ?? |
| Posted by: | Alf Christophersen (alf.christophers…@medisin.uio.no) |
| Date: | Mon, 30 Nov 2009 |
While compiling Turbopower vPlanIt I found that in eg. VpDateEdit, error
insight tell about an error in using a published property declared in an
ancestor class, but not in the primary ancestor.
Since it still compiles ok, but mark as an error, I would think this is
a bug ??
Or if not, an irritating feature since it would mean we would be
suggested to look for an non-existing bug.
In this case, it seems to be a solution to declare the property also in
the immediate ancestor class.
Eg. in VpCalendar, TvpCalendar declare font as a inherited property, but
since its ancestorclass tVpCustomCalendar don't declare the same
property, while tVpCustomCalendar's ancestor TVpLinkableControl do
publish it, the use of font in VpCalendar gives a red underline and a
message about not declared variable.
Is this reported in QC ???
Or is it an wellknown artefact ?