[Lazarus] Synmemo: problem adding OnStatusChange event handler

Reinier Olislagers reinierolislagers at gmail.com
Sun Dec 16 11:02:38 CET 2012


Synedit newb here...

Win, Laz trunk, FPC x86 2.7.1

uses
...SynEdit,SynMemo,SynEditTypes,SynHighlighterIni

With a synmemo, trying to add an OnStatusChange event, I get "Unable to
create method" and
C:\Development\lazarus_fpctrunk\components\synedit\synedit.pp(325,24)
Error: method type definition not found
for TStatusChangeEvent in the line
  TStatusChangeEvent = SynEditTypes.TStatusChangeEvent;

Added the synedit package to the project requirements - same error message.
Laz PPU files gives
SynEditTypes in
c:\development\lazarus_fpctrunk\components\synedit\synedittypes.pp

Adding
$(LazarusDir)\components\synedit;
to the project Other unit/-Fu files doesn't help... or rebuilding Lazarus.

What am I doing wrong?

Thanks,
Reinier




More information about the Lazarus mailing list