[Lazarus] SOLVED - RE: FW: exception class 'EReadError' with message Invalid value for property (onClick event in TMenuItem)

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Mar 13 09:28:49 CET 2011


On Sun, 13 Mar 2011 13:46:17 +1100
Peter Williams <pewilliams2010 at live.com> wrote:

> 
> Hi Mattias and All,
> 
> > Date: Sat, 12 Mar 2011 13:07:31 +0100
> > From: nc-gaertnma at netcologne.de
> > To: lazarus at lists.lazarus.freepascal.org
> > Subject: Re: [Lazarus] FW: exception class 'EReadError' with message Invalid value for property (onClick event in TMenuItem)
> > 
> > On Sat, 12 Mar 2011 22:00:31 +1000
> > Alexander Klenin <klenin at gmail.com> wrote:
> > 
> > > 2011/3/12 Peter Williams <pewilliams2010 at live.com>:
> > > > Hi All,
> > > >
> > > > I am unable to debug this error. Can someone please download the sample
> > > > application which gives this error and tell me what am I doing wrong?
> > > 
> > > Your .lrs file is out of sync with .lfm file.
> > 
> > Just remove the .lrs file. Open the unit and save it. The IDE will
> > recreate the lrs file from the lfm file.
> Okay and thanks, that works now.
> Just wondering... what exactly IS a .lrs file? What does the extension stand for? 

Lazarus ReSource file.
It is an include file with binary data converted to string constants.

Mattias




More information about the Lazarus mailing list