Hi,<br><br>To reproduce the error:<br><br>1. Open Lazarus and make a new project;<br>2. put 1 Edit in Form1;<br>3. put 1 Button in Form1;<br><br>...Then:<br><br>(...)<br> TForm1 = class(TForm)<br> private<br> Edit1: TEdit; <b><<-- in private session? :o</b><br>
Button1: TButton; <b><<-- in private session? :o</b><br> { private declarations }<br> public<br> { public declarations }<br> end;<br>(...)<br><br>And not accepts implements OnClick of the Button1, if I use double click in Button1 to implement my OnClick event, I get this error:<br>
<br><a href="http://imagebin.org/136012">http://imagebin.org/136012</a><br><br>Same steps on Delphi:<br><br>(...)<br> TForm1 = class(TForm)<br> Button1: TButton;<br> Edit1: TEdit;<br> procedure Button1Click(Sender: TObject);<br>
private<br> { Private declarations }<br> public<br> { Public declarations }<br> end;<br><br>var<br> Form1: TForm1;<br><br>implementation<br><br>{$R *.dfm}<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>
begin<br><br>end;<br>(...)<br><br>My environment:<br><br><b>Lazarus 0.9.31 r29341 FPC 2.5.1 i386-win32-win32/win64</b><br><br>( copied from the right click in about window )<br><br>-- <br><font color="#000080" face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Silvio Clécio</b></font><br>
<font color="#000000" face="Verdana" size="1"><b>Blog.</b> <a href="http://blog.silvioprog.com.br" target="_blank"><span style="color: rgb(51, 51, 255);">blog.silvioprog.com.br</span></a><br></font><font color="#000000" face="Verdana" size="1"><b>Twitter.</b> <a href="http://twitter.com/silvioprog" target="_blank">twitter.com/silvioprog</a></font><br>
<br>