On Fri, 14 Dec 2012 11:30:31 +0100 (CET) [email protected] wrote: > > > 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 ?
Maybe you mean in unit lresources.pp: LRSObjectReaderClass: TLRSObjectReaderClass=TLRSObjectReader; LRSObjectWriterClass: TLRSObjectWriterClass=TLRSObjectWriter; Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
