Issue with Events lazarus / 10-Designer ---------------------------------------------------------------------- sfeinst · 2011-08-18 18:16 I've been using Lazarus without issues for a while.  Because I wanted to use generics (TFPGObjectList specifically).  I saw there was a feature missing realted to enumeration with FPC 2.4.2.  So I downloaded and setup FPC 2.5.1.  I pulled latest from svn for Lazarus and rebuilt Lazarus. One note, Lazarus still points to fpc 2.4.2 source code because I have not downloaded 2.5.1 source yet. Whenever I go to the events tab of object inspector and click any of the dropdowns, I get an error from Lazarus about an error in the fpc source code (: expected but = found).  This only occurs if I include the unit fgl in my code (even if I don't reference it). I was able to compile my code without errors (including code which used fgl code).  It's just the events will not work for me (and I don't know how to manually add events to a control). Does the IDE use the fpc source and check it for compilation when I click on one of the events dropdown, so pointing to older sources causes an issue even though I am not trying to compile fpc itslef? Using Windows 2000 Any ideas? ---------------------------------------------------------------------- sfeinst · 2011-08-19 19:53 I tested this on another machine with Windows XP.  The same thing happened.  I then downloaded and installed latest FPC sources and pointed Lazarus config for FPC sources to the latest and everything started working again.  So I will try that on the original machine (away from that machine today).  So it appears when you add a unit to your code, Lazarus does look at it when you use the events part of designer.  I'll update after testing with the original machine. ---------------------------------------------------------------------- sfeinst · 2011-08-23 17:24 Finally got around to testing and yes, adding the newer sources for FPC fixed the issue.