[lazarus] FPC Request

Shane Miller SMiller1 at stvgb.org
Fri Oct 22 15:09:02 EDT 1999


Here's another one.  When assigning a TNotifyEvent to a procedure like

OnCLick := Button1Click; 

FPC returns an error 
Wrong Amout of parameters specified.

The way you fix it is to do a 

OnCLick := @Button1Click; 

Can you change it so that it allows the first type of assignment?  Delphi allows it and it's really making a mess out of the code if I can't do it that way.

thanks
Shane

P.S. - Sorry for being a pest.  I hate all the IFDEF's I would have to use otherwise...









More information about the Lazarus mailing list