On 13/12/12 9:45, Jorge Gonçalves wrote:
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 ?
Bit of a hack, but you could use the Tag property as a boolean on Lazarus. Its published, so is stored in the .lfm. But obviously this would require {$IFDEF } to compile on Delphi too.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
