[Lazarus] Difference between Delphi 2010 / Lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 14 11:21:37 CET 2012


On Fri, 14 Dec 2012 10:05:52 +0000
Jorge Gonçalves <projorge at gmail.com> wrote:

> >
> > What does "Calculated" do?
> >>
> >
> > Judging from the Delphi code, it is no longer used. The GetCalculated
> > returns
> >
> >
> Yes i know.
> The problem surges when we read the dfm. The reader will give one exception
> that the property is unknown.
> If we try to remove the property from the file, Delphi will introduce them
> again, next time we edit the datamoudule.

I added an ignore in lcl/dbctrls.pp:
  RegisterPropertyToSkip(TField,'Calculated','VCL compatibility property', '');

Please test.

Mattias




More information about the Lazarus mailing list