[Lazarus] Difference between Delphi 2010 / Lazarus

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Fri Dec 14 11:30:31 CET 2012



On Fri, 14 Dec 2012, 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.

You can install an unknown property event handler in TReader: OnPropertyNotFound

But that requires that you are able to choose which reader is used, because
now you cannot: I've long wanted to install a hook so you can select which 
reader/writer is used in TStream.ReadComponent.

Maybe the lazarus implementation offers a hook ?

Michael.


More information about the Lazarus mailing list