[Lazarus] FW: exception class 'EReadError' with message Invalid value for property (onClick event in TMenuItem)
Peter Williams
pewilliams2010 at live.com
Sat Mar 12 03:53:51 CET 2011
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?Download link:
http://hotfile.com/dl/109861372/9072f69/island_maker_laz_001a.zip.html(zip archive of source and exe, 4028 KB).OS - Windows 7 Ultimate 32 BitLazarus 0.9.31
nb - error occurs immediately on run of project (F9)
Best Regards,PEWHobart, Australia
From: pewilliams2010 at live.com
To: lazarus at lazarus.freepascal.org
Subject: exception class 'EReadError' with message Invalid value for property (onClick event in TMenuItem)
Date: Sat, 12 Mar 2011 06:07:46 +1100
Hi Lazarus List,
I am encountering a strange run time error... Project island_maker.exe raised exception class 'EReadError' with message Invalid value for property
Error reading CreateaNewIsland1.OnClick: Invalid value for property
procedure TForm1.CreateANewIslandClick(Sender: TObject);begin make_an_island;end; { CreateaNewIslandClick }{--------------------------------------------------------------------}
// where make_an_island is procedure TForm1.make_an_island;
object Form1: TForm1 Left = 131 Height = 585 Top = 47 Width = 917 Caption = 'Form1' ClientHeight = 565 ClientWidth = 917 Menu = MainMenu1 LCLVersion = '0.9.31' object Memo1: TMemo Left = 0 Height = 565 Top = 0 Width = 917 Align = alClient TabOrder = 0 end object MainMenu1: TMainMenu left = 64 top = 48 object File1: TMenuItem Caption = '&File' object CreateANewIsland: TMenuItem Caption = '&Create A New Island' OnClick = CreateANewIslandClick end object SaveIslandToFile: TMenuItem Caption = '&Save Island To File' OnClick = SaveIslandToFileClick end end object Options: TMenuItem Caption = '&Options' OnClick = OptionsClick end end object SaveDialog1: TSaveDialog left = 131 top = 48 endend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110312/901ed843/attachment-0003.html>
More information about the Lazarus
mailing list