Hi,
To reproduce the error:
1. Open Lazarus and make a new project;
2. put 1 Edit in Form1;
3. put 1 Button in Form1;...Then:
(...)
TForm1 = class(TForm)
private
Edit1: TEdit; *<<-- in private session? :o*
Button1: TButton; *<<-- in private session? :o*
{ private declarations }
public
{ public declarations }
end;(...)
And not accepts implements OnClick of the Button1, if I use double click in Button1 to implement my OnClick event, I get this error:
Same steps on Delphi:
(...)
TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
end;
(...)My environment:
*Lazarus 0.9.31 r29341 FPC 2.5.1 i386-win32-win32/win64*
( copied from the right click in about window )
