Double click on any component raises an exception message lazarus / 10-Designer ---------------------------------------------------------------------- finalist · 2009-11-06 12:25 Every time I try to make an Event OnClick for a Button in my application, I do doubleclick by mouse on it .... Every time it raises an exception message:  "The component editor of class "TDefaultComponentEditor" has created the error: "Unable to find method. Please fix the error shown in the message window." Is this a normal behavior, or I have some bad luck ? Thanks! ---------------------------------------------------------------------- clauslack · 2009-11-06 12:39 Hi This happen in general in this case Code: [Select]procedure TForm1.Button1Click(Sender: TObject); begin   end; end; begin without end, or end without begin or another case too. Fix your code and try again. ---------------------------------------------------------------------- Vincent Snijders · 2009-11-06 12:44 What is the error shown in the message window? ---------------------------------------------------------------------- finalist · 2009-11-06 12:46 I did describe the error message with the bold black text above. My code is: var   Form_TMPSM:  TForm_TMPSM; implementation initialization   {$I unit_tmpsm_.lrs} end. ---------------------------------------------------------------------- finalist · 2009-11-06 18:23 1. I did uninstall the Lazarus ( It was installed at D:\#LAZARUS ); 2. I did install new Lazarus at D:\LAZARUS; 3. The above error message does not appear anymore; 4. It appears new message informing me that Lazarus can not find debugger at D:\#LAZARUS\mingw\bin\gdb.exe 5. I did copy from D:\LAZARUS\mingw\bin\gdb.exe to D:\#LAZARUS\mingw\bin\gdb.exe 6. There is no more errors !!!!  May be I need to unistall the Lazarus again, and install it at D:\#LAZARUS .... I will do this ... ---------------------------------------------------------------------- Martin_fr · 2009-11-06 18:38 Quote from: finalist on November 06, 2009, 07:23:07 pm1. I did uninstall the Lazarus ( It was installed at D:\#LAZARUS ); 2. I did install new Lazarus at D:\LAZARUS; It is possible that something doesn't like the "#" in your path. There are known issues with spaces in the path too. If you uninstall/reinstall lazarus your settings are kept. They are in your user's home folder: C:\Users\martin\AppData\Local\lazarus The will contain the old debugger and fpc path (which all can be adapted through Environment / options If you want a fresh install with complete new settings you can delete the folder. You can also keep more than one set of settings by using --primary- config-path="C:\foo" (add to commandline, using a windows shortcut) ---------------------------------------------------------------------- finalist · 2009-11-06 19:29 Thanks Martin_fr, 1. I did uninstall the last installed LAZARUS 2. I did delete the directory:  D:\Documents and Settings\emo\Local Settings\Application Data\lazarus 3. I did install a new LAZARUS at D:\LAZARUS 4. Everything works fine