[Lazarus] Stragne error in Lazarus 0.9.31 r29341 FPC 2.5.1 i386-win32-win32/win64

silvioprog silvioprog at gmail.com
Thu Feb 3 22:29:17 CET 2011


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:

http://imagebin.org/136012

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 )

-- 
*Silvio Clécio*
*Blog.* blog.silvioprog.com.br
*Twitter.* twitter.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110203/9b299841/attachment-0002.html>


More information about the Lazarus mailing list