[Lazarus] Installing Lazarus 1.1 with fpc 2.6.2 on Ubuntu

2013-03-04 Thread Jorge Gonçalves
Hi,
Here can I find information about installing lazarus 1.1 with fpc 2.6.2 on
Ubuntu ?


Regards
jGoncalves
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Difference between Delphi 2010 / Lazarus

2012-12-14 Thread Jorge Gonçalves
Worked 
for now I'm  using on my own unit as a temporary hack.

Thx
jGoncalves


On Fri, Dec 14, 2012 at 10:21 AM, Mattias Gaertner <
nc-gaert...@netcologne.de> wrote:

> On Fri, 14 Dec 2012 10:05:52 +
> Jorge Gonçalves  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
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Difference between Delphi 2010 / Lazarus

2012-12-14 Thread Jorge Gonçalves
>
> 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.


jGoncalves
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Difference between Delphi 2010 / Lazarus

2012-12-13 Thread Jorge Gonçalves
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
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus