[Lazarus] Difference between Delphi 2010 / Lazarus

Jorge Gonçalves projorge at gmail.com
Thu Dec 13 22:45:45 CET 2012


Hi,
I'm translating one application from delphi  to lazarus, and I'm having
some problems with the way lazarus and delphi stores calculate fields in
the dfm.
The delphi store one more property :"Calculated". This property is public
and are stored using the procedure DefineProperties at TField level.

dfm example :
Delphi :
   object DetailsTOTAL: TFloatField
      FieldKind = fkCalculated
      FieldName = 'TOTAL'
      DisplayFormat = '0.00'
   *   Calculated = True*
    end

Lazarus :
   object DetailsTOTAL: TFloatField
      FieldKind = fkCalculated
      FieldName = 'TOTAL'
      DisplayFormat = '0.00'
    end

Any easy way to solve the problem ?

ps :
 The application must compile on both compilers.
 Lazarus version 1.1 with FPC 2.6.1. SVN Revision : 39433

Thx
jGoncalves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121213/3e2a0790/attachment-0002.html>


More information about the Lazarus mailing list