[Lazarus] The TDefaulComponentEditor again

Jesus Reyes jesusrmx at yahoo.com.mx
Tue Mar 22 21:34:49 CET 2011



--- El mar 22-mar-11, silvioprog <silvioprog at gmail.com> escribió:

> De: silvioprog <silvioprog at gmail.com>
> Asunto: Re: [Lazarus] The TDefaulComponentEditor again
> A: "Lazarus mailing list" <lazarus at lists.lazarus.freepascal.org>
> Fecha: martes, 22 de marzo de 2011, 13:05
> 2011/3/22 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> > 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.


      




More information about the Lazarus mailing list