[lazarus] deleting event handlers
Tony Maro
tony at maro.net
Sun Nov 16 16:49:53 EST 2003
> -----Original Message-----
> From: Ken Moffat [mailto:kmoffat at drizzle.com] >
>
> Is it ok in Lazarus to just remove the code for an event handler from
> the unit? I have several unused event handlers, such as
>
> procedure TForm1.Button1CLICK(Sender: TObject);
> begin
>
> end;
>
> just empty, but in delphi/kylix these are removed
> automatically on save.
> Can I just delete these and there declarations?
>
Yes, but don't forget to delete it from the object inspector event as
well.
-Tony
More information about the Lazarus
mailing list