Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-02

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

9 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

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.freepascal.org/pipermail/lazarus/attachments/20110203/9b299841/attachment.html>

Reply by email

Mattias Gaertner
to silvioprog
Show quoted text 20 lines
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; (...)

Fixed in svn.

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

I'm curious: Do you know what the message window is, that is mentioned on this dialog?

[...]

Mattias

Reply by email

silvioprog
to Mattias Gaertner

2011/2/3 Mattias Gaertner

Show quoted text 26 lines
On Thu, 3 Feb 2011 19:29:17 -0200 silvioprog wrote: > 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; > (...) Fixed in svn.

Thanks Mattias. ^^

Show quoted text 9 lines
> 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 I'm curious: Do you know what the message window is, that is mentioned on this dialog?

No, why? o.o'

> [...] Mattias
*Silvio Cl?cio* *Blog.* blog.silvioprog.com.br *Twitter.* twitter.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110204/c330f9d6/attachment.html>

Reply by email

waldo kitty
to silvioprog
silvioprog wrote 13 lines
2011/2/3 Mattias Gaertner < On Thu, 3 Feb 2011 19:29:17 -0200 silvioprog < <mailto:>> wrote: > 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 I'm curious: Do you know what the message window is, that is mentioned on this dialog? No, why? o.o'

so that it might be fixed for delphi compatibility?? ;)

Reply by email

Vincent Snijders
to waldo kitty

2011/2/4 waldo kitty :

Show quoted text 5 lines
> > No, why? o.o' so that it might be fixed for delphi compatibility?? ;)

And that was another useless off topic message from you to this list.

Please, restrain yourself with you have nothing sensible to add.

Vincent

Reply by email

waldo kitty
to Vincent Snijders
Vincent Snijders wrote 7 lines
2011/2/4 waldo kitty: >> >> No, why? o.o' > > so that it might be fixed for delphi compatibility?? ;) And that was another useless off topic message from you to this list.

hunh? i thought it quite legitimate to the question asked... it seemed to me to be rather specific in nature...

Please, restrain yourself with you have nothing sensible to add.

i've been doing so... the above was not sensible? i've actually posted many less posts since our last conversation... should i just drop this list completely and look elsewhere for my pascal needs in this new world??

signed,

dazed and confused :(

Reply by email

Henry Vermaak
to waldo kitty
waldo kitty wrote 12 lines
On 2/4/2011 01:51, Vincent Snijders wrote: > > 2011/2/4 waldo kitty: >>> >>> No, why? o.o' >> >> so that it might be fixed for delphi compatibility?? ;) > > And that was another useless off topic message from you to this list. hunh? i thought it quite legitimate to the question asked... it seemed to me to be rather specific in nature...

Your question makes no sense to me.

Mattias asked if he knew what the "message window" is, since the error is shown there. He replied "no" (I'm not sure if Silvio understood this completely). Then your question about fixing it for delphi compatibility. What exactly do you want to fix about this error dialog? Where does delphi compatibility come in?

Maybe I just don't understand what you meant.

Show quoted text 5 lines
> Please, restrain yourself with you have nothing sensible to add. i've been doing so... the above was not sensible? i've actually posted many less posts since our last conversation... should i just drop this list completely and look elsewhere for my pascal needs in this new world??

<snark>Yes, please</snark>

Seriously, why would you even ask that question on a public list.

Henry

Reply by email

waldo kitty
to Henry Vermaak
Henry Vermaak wrote 21 lines
On 4 February 2011 23:40, waldo kitty wrote: > On 2/4/2011 01:51, Vincent Snijders wrote: >> >> 2011/2/4 waldo kitty: >>>> >>>> No, why? o.o' >>> >>> so that it might be fixed for delphi compatibility?? ;) >> >> And that was another useless off topic message from you to this list. > > hunh? i thought it quite legitimate to the question asked... it seemed to me > to be rather specific in nature... Your question makes no sense to me. Mattias asked if he knew what the "message window" is, since the error is shown there. He replied "no" (I'm not sure if Silvio understood this completely). Then your question about fixing it for delphi compatibility. What exactly do you want to fix about this error dialog? Where does delphi compatibility come in?

the message window has nothing to do with delphi compatibility? they are not triggered based on the specific error message? are not the error messages, message boxes and dialogues not part of delphi compatibility?

Maybe I just don't understand what you meant.

i guess... you and numerous others... maybe too close to or too far from the the problem you are??

Show quoted text 9 lines
>> Please, restrain yourself with you have nothing sensible to add. > > i've been doing so... the above was not sensible? i've actually posted many > less posts since our last conversation... should i just drop this list > completely and look elsewhere for my pascal needs in this new world?? <snark>Yes, please</snark> Seriously, why would you even ask that question on a public list.

yeah, same back... there was nothing wrong with the question as it related to a message window and how it might be related to delphi compatibility... obviously there is something wrong, though :?

Reply by email