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

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Mar 12 13:07:31 CET 2011


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.

> I do not know how it got into that state, but since you are using
> modern Lazarus anyway,
> I recommend just switching to FPC resources.


Mattias





More information about the Lazarus mailing list