[Lazarus] The TDefaulComponentEditor again

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] The TDefaulComponentEditor again

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
=================================================

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

William Oliveira Ferreira
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 <[hidden email]>
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
=================================================

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

Mattias Gaertner
In reply to this post by silvioprog
On Tue, 22 Mar 2011 13:36:13 -0300
silvioprog <[hidden email]> wrote:

> 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

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

silvioprog
2011/3/22 Mattias Gaertner <[hidden email]>:
> Have you tried following the advice "Please fix the error ..."?

How I do it? o.o'

> Mattias

--
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
=================================================
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

Mattias Gaertner
On Tue, 22 Mar 2011 15:35:38 -0300
silvioprog <[hidden email]> wrote:

> 2011/3/22 Mattias Gaertner <[hidden email]>:
> > 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

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

silvioprog
2011/3/22 Mattias Gaertner <[hidden email]>:
> 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
=================================================
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

Jesus Reyes A.


--- El mar 22-mar-11, silvioprog <[hidden email]> escribió:

> De: silvioprog <[hidden email]>
> Asunto: Re: [Lazarus] The TDefaulComponentEditor again
> A: "Lazarus mailing list" <[hidden email]>
> Fecha: martes, 22 de marzo de 2011, 13:05
> 2011/3/22 Mattias Gaertner <[hidden email]>:
> > 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.


     

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

Jesus Reyes A.


--- El mar 22-mar-11, Jesus Reyes <[hidden email]> escribió:

> De: Jesus Reyes <[hidden email]>
> Asunto: Re: [Lazarus] The TDefaulComponentEditor again
> A: "Lazarus mailing list" <[hidden email]>
> 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.


     

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

Jesus Reyes A.


--- El mar 22-mar-11, Jesus Reyes <[hidden email]> escribió:
>
> 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.


     

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

Mattias Gaertner
In reply to this post by silvioprog
On Tue, 22 Mar 2011 16:05:08 -0300
silvioprog <[hidden email]> wrote:

> 2011/3/22 Mattias Gaertner <[hidden email]>:
> > 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

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] The TDefaulComponentEditor again

silvioprog
2011/3/22 Mattias Gaertner <[hidden email]>:

> On Tue, 22 Mar 2011 16:05:08 -0300
> silvioprog <[hidden email]> wrote:
>
>> 2011/3/22 Mattias Gaertner <[hidden email]>:
>> > 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
=================================================

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus