Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

IDE under OSX causes TDefaultComponentEditor error

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

New Lazarus v1.4 install from the files on SourceForge, using OSX 10.9.5. If I create a new application and drop a button on the empty form, double click the button so I can implement a OnClick event handler, the IDE pops up with an error "Error in
TDefaultComponentEditor.... unable to find method....". The IDE also opened the lclclasses.pp unit and the Messages Window shows that on line 26 it can't find the Classes unit.??

I did some Google searching and found references to this same error back in 2010, for Lazarus 0.9.29 under Windows. The forum comments weren't much help in my case though.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Dmitry Boyarintsev
to Graeme Geldenhuys

You probably need to "Tools->Rescan FPC Source Directory"?

thanks,
Dmitry

On Fri, May 29, 2015 at 7:50 AM, Graeme Geldenhuys <

Show quoted text 29 lines
wrote: Hi, New Lazarus v1.4 install from the files on SourceForge, using OSX 10.9.5. If I create a new application and drop a button on the empty form, double click the button so I can implement a OnClick event handler, the IDE pops up with an error "Error in TDefaultComponentEditor.... unable to find method....". The IDE also opened the lclclasses.pp unit and the Messages Window shows that on line 26 it can't find the Classes unit.?? I did some Google searching and found references to this same error back in 2010, for Lazarus 0.9.29 under Windows. The forum comments weren't much help in my case though. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150529/7d82b739/attachment.html>

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: New Lazarus v1.4 install from the files on SourceForge, using OSX 10.9.5. If I create a…
Graeme Geldenhuys wrote 13 lines
Hi, New Lazarus v1.4 install from the files on SourceForge, using OSX 10.9.5. If I create a new application and drop a button on the empty form, double click the button so I can implement a OnClick event handler, the IDE pops up with an error "Error in TDefaultComponentEditor.... unable to find method....". The IDE also opened the lclclasses.pp unit and the Messages Window shows that on line 26 it can't find the Classes unit.?? I did some Google searching and found references to this same error back in 2010, for Lazarus 0.9.29 under Windows. The forum comments weren't much help in my case though.

Normally, this means it cannot find the FPC sources. Set the directory to the FPC sources correct, and do a "rescan FPC source directory" from the tools menu.

Michael.

Reply by email