Sign in Join

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

Mailing lists / lazarus / 2011-03

The TDefaulComponentEditor again

11 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

silvioprog

Hi.

After last update (Lazarus 0.9.31 r29979 FPC 2.5.1 i386-win32-win32/win64), I can't to use any event in Object Inspector. Double click in any component causes this error:

http://imagebin.org/144329

and

http://imagebin.org/144328

I used the "Rescan FPC source directory" menu, but, without sucess. :(

Log.:

---------------------------------------------
unit1.pas(25,4) Error: Class TEventsCodeTool not found

How to fix this error?

Thanks.

P.S.: none of these worked - http://goo.gl/SqouL

Silvio Cl?cio ================================================= Blog - silvioprog.com.br Twitter - twitter.com/silvioprog LazSolutions - code.google.com/p/lazsolutions Lazarus-BR - http://groups.google.com.br/group/lazarus-br?hl=pt-BR =================================================

Reply by email

William Oliveira Ferreira
to silvioprog

i've had this one too, but when i double click the default form (blank project too)
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informa??o

2011/3/22 silvioprog

Show quoted text 41 lines
Hi. After last update (Lazarus 0.9.31 r29979 FPC 2.5.1 i386-win32-win32/win64), I can't to use any event in Object Inspector. Double click in any component causes this error: http://imagebin.org/144329 and http://imagebin.org/144328 I used the "Rescan FPC source directory" menu, but, without sucess. :( Log.: --------------------------------------------- unit1.pas(25,4) Error: Class TEventsCodeTool not found How to fix this error? Thanks. P.S.: none of these worked - http://goo.gl/SqouL -- Silvio Cl?cio ================================================= Blog - silvioprog.com.br Twitter - twitter.com/silvioprog LazSolutions - code.google.com/p/lazsolutions Lazarus-BR <http://code.google.com/p/lazsolutionsLazarus-BR> - http://groups.google.com.br/group/lazarus-br?hl=pt-BR ================================================= -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110322/b4b1cd61/attachment.html>

Reply by email

Mattias Gaertner
to silvioprog: Hi. After last update (Lazarus 0.9.31 r29979 FPC 2.5.1 i386-win32-win32/win64), I can't…
Show quoted text 13 lines
Hi. After last update (Lazarus 0.9.31 r29979 FPC 2.5.1 i386-win32-win32/win64), I can't to use any event in Object Inspector. Double click in any component causes this error: http://imagebin.org/144329 and http://imagebin.org/144328 I used the "Rescan FPC source directory" menu, but, without sucess. :(

Have you tried following the advice "Please fix the error ..."?

Mattias

Reply by email

Mattias Gaertner
to silvioprog
2011/3/22 Mattias Gaertner : > Have you tried following the advice "Please fix the error ..."? How I do it? o.o'

What error message do you see in the message window, which is normally below the source editor?

Mattias

Reply by email

silvioprog
to Mattias Gaertner

2011/3/22 Mattias Gaertner :

What error message do you see in the message window, which is normally below the source editor?

Please, see here:

http://imagebin.org/144356

Mattias

Thx.

Silvio Cl?cio ================================================= Blog - silvioprog.com.br Twitter - twitter.com/silvioprog LazSolutions - code.google.com/p/lazsolutions Lazarus-BR - http://groups.google.com.br/group/lazarus-br?hl=pt-BR =================================================

Reply by email

Jesus Reyes
to silvioprog

--- El mar 22-mar-11, silvioprog escribi?:

Show quoted text 17 lines
De: silvioprog Asunto: Re: [Lazarus] The TDefaulComponentEditor again A: "Lazarus mailing list" Fecha: martes, 22 de marzo de 2011, 13:05 2011/3/22 Mattias Gaertner : > What error message do you see in the message window, which is normally > below the source editor? Please, see here: http://imagebin.org/144356 > Mattias Thx.

seems the same, here while creating a OnKeyDown handler for a form:

#################### TOICustomPropertyGrid.DoCallEdit for TMethodPropertyEditor Edit=True TEventsCodeTool.PublishedMethodExists method not found FormKeyDown

Breakpoint 1, fpc_raiseexception (OBJ=0x7fffebf4a440, ANADDR=0xae6ce2, AFRAME=0x7fffffffbfd0) at ../inc/except.inc:195 195 fpc_Raiseexception:=nil;
(gdb) bt
#0 fpc_raiseexception (OBJ=0x7fffebf4a440, ANADDR=0xae6ce2, AFRAME=0x7fffffffbfd0) at ../inc/except.inc:195 #1 0x0000000000ae6cf8 in RAISEEXCEPTIONINSTANCE (this=0x7fffed8debd0, THEEXCEPTION=0x7fffebf4a440, CLEARNICEPOS=true) at customcodetool.pas:2222
#2 0x0000000000ae6d59 in RAISEEXCEPTIONCLASS (this=0x7fffed8debd0, AMESSAGE=0x7fffed866950 'Clase TEventsCodeTool no encontrada', EXCEPTIONCLASS=0x1bc7800, CLEARNICEPOS=true) at customcodetool.pas:2230 #3 0x0000000000ae199d in RAISEEXCEPTION (this=0x7fffed8debd0, AMESSAGE=0x7fffed866950 'Clase TEventsCodeTool no encontrada', CLEARNICEPOS= true) at customcodetool.pas:423
#4 0x0000000000ae1a3e in RAISEEXCEPTIONFMT (this=0x7fffed8debd0, AMESSAGE=0x7fffeda0cfd0 'Clase %s no encontrada', ARGS=..., highARGS=0, CLEARNICEPOS=true) at customcodetool.pas:429
#5 0x0000000000b4b6be in RAISECLASSNOTFOUND (parentfp=0x7fffffffc140) at pascalreadertool.pas:1574 #6 0x0000000000b4b672 in FINDCLASSNODEININTERFACE (this=0x7fffed8debd0, ACLASSNAME=0x7fffebf4a410 'TEventsCodeTool', IGNOREFORWARDS=true, IGNORENONFORWARDS=false, ERRORONNOTFOUND=true) at pascalreadertool.pas:1591 #7 0x0000000000ab0d6d in CREATEMETHOD (this=0x7fffed8debd0, ACLASSNAME=0x7fffebf4a3d0 'TfrmMain', AMETHODNAME=0x7fffebf4a390 'FormKeyDown', ATYPEINFO=0x18a0c88, APROPERTYUNITNAME=0x7fffebf4a350 'unitmain', APROPERTYPATH=0x7fffec8c4a90 'TfrmMain.OnKeyDown', SOURCECHANGECACHE= 0x7ffff7febcc0, USETYPEINFOFORPARAMETERS=false, SECTION=PCSPUBLISHED, CALLANCESTORMETHOD=0x0) at eventcodetool.pas:795 #8 0x0000000000aa31e3 in CREATEPUBLISHEDMETHOD (this=0x7ffff7ff21e0, CODE=0x7fffecdd4680, ACLASSNAME=0x7fffebf4a3d0 'TfrmMain', NEWMETHODNAME=0x7fffebf4a390 'FormKeyDown', ATYPEINFO=0x18a0c88, USETYPEINFOFORPARAMETERS=false, APROPERTYUNITNAME= 0x7fffebf4a350 'unitmain', APROPERTYPATH=0x7fffec8c4a90 'TfrmMain.OnKeyDown', CALLANCESTORMETHOD=0x0) at codetoolmanager.pas:3344 #9 0x00000000006ef73d in ONPROPHOOKCREATEMETHOD (this=0x7ffff0cc3cc0, AMETHODNAME=..., ATYPEINFO=0x18a0c88, APERSISTENT=0x7fffed8d0df0, APROPERTYPATH=0x7fffec8c4a90 'TfrmMain.OnKeyDown') at main.pp:17242 #10 0x0000000000a742d3 in CREATEMETHOD (this=0x7fffed89dae0, NAME=..., ATYPEINFO=0x18a0c88, APERSISTENT=0x7fffed8d0df0, APROPERTYPATH= 0x7fffec8c4a90 'TfrmMain.OnKeyDown') at propedits.pp:5099 #11 0x0000000000a70eaa in SETVALUE (this=0x7fffec8b6140, NEWVALUE=0x7fffec822790 'FormKeyDown') at propedits.pp:4047 #12 0x0000000000a6ff01 in EDIT (this=0x7fffec8b6140) at propedits.pp:3845 #13 0x0000000000a2b998 in DOCALLEDIT (this=0x7fffeda86a50, EDIT=OIQEEDIT) at objectinspector.pp:1349 #14 0x0000000000a2c187 in VALUEBUTTONCLICK (this=0x7fffeda86a50, SENDER=0x7fffeda88230) at objectinspector.pp:1483 #15 0x00000000008262c1 in CLICK (this=0x7fffeda88230) at include/control.inc:2286

Jesus Reyes A.

Reply by email

Jesus Reyes
to Jesus Reyes

--- El mar 22-mar-11, Jesus Reyes escribi?:

Show quoted text 6 lines
De: Jesus Reyes Asunto: Re: [Lazarus] The TDefaulComponentEditor again A: "Lazarus mailing list" Fecha: martes, 22 de marzo de 2011, 14:34

I forgot:

Lazarus 0.9.31 r29983M FPC 2.5.1 x86_64-linux-gtk 2

Jesus Reyes A.

Reply by email

Jesus Reyes
to Jesus Reyes

--- El mar 22-mar-11, Jesus Reyes escribi?:

Show quoted text 7 lines
I forgot: Lazarus 0.9.31 r29983M FPC 2.5.1 x86_64-linux-gtk 2 Jesus Reyes A.

A little update, r29981 works fine while r29982 and r29983 not.

Jeus Reyes A.

Reply by email

silvioprog
to Mattias Gaertner

2011/3/22 Mattias Gaertner :

Show quoted text 14 lines
On Tue, 22 Mar 2011 16:05:08 -0300 silvioprog wrote: > 2011/3/22 Mattias Gaertner : > > What error message do you see in the message window, which is normally > > below the source editor? > > Please, see here: > > http://imagebin.org/144356 Fixed. Mattias

You were very fast, nice work!

Thx. \o/

Silvio Cl?cio ================================================= Blog - silvioprog.com.br Twitter - twitter.com/silvioprog LazSolutions - code.google.com/p/lazsolutions Lazarus-BR - http://groups.google.com.br/group/lazarus-br?hl=pt-BR =================================================

Reply by email