[Lazarus] IDE under OSX causes TDefaultComponentEditor error

Michael Van Canneyt michael at freepascal.org
Fri May 29 14:31:57 CEST 2015



On Fri, 29 May 2015, Graeme Geldenhuys 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.

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.




More information about the Lazarus mailing list