Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code reference search result?
Message
De
14/08/2008 03:03:06
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
14/08/2008 02:25:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01338779
Message ID:
01338785
Vues:
22
Hi,

I'm not sure on your problem, but sometimes the Code References find stuff in VCX's that are not visible otherwise. It's normaly a sign of a problem in your vcx.

My way to repiar:

backup
create an empty vcx

copy all classes of the strange vcx to the new one
delete all classes from the old one

open the vcx via use. if you browse and there is more then one record you see your problem. The Code References finds stuff in those records.

delete the old vcx, rename the new one to the old name.

HTH
Agnes
>Hi,
>
>The below is captured from one of the Code References search result:
>
>
>File name						Class.Method, Line		Code
>------------------------------------------------------------------------------------------------
>i:\vfp9\prj\utl\vfptools\toolbox\_toolbox.vcx		8				m.cDropText = m.Obje
>i:\vfp9\prj\utl\vfptools\toolbox\_toolboxdefault.vcx	8				m.cDropText = m.Obje
>i:\vfp9\prj\utl\vfptools\toolbox\_toolbox.vcx		ondblclick, 13			m.oContextMenu = NEW
>i:\vfp9\prj\utl\vfptools\toolbox\_toolboxdefault.vcx	ondblclick, 13			m.oContextMenu = NEW
>i:\vfp9\prj\utl\vfptools\toolbox\_toolbox.vcx		onkeypress, 17			*!*   m.oContextMenu
>i:\vfp9\prj\utl\vfptools\toolbox\_toolboxdefault.vcx	onkeypress, 17			*!*   m.oContextMenu
>i:\vfp9\prj\utl\vfptools\toolbox\toolboxengine.prg	ToolboxEngine.AddCategory,	m.oCategory = NEWOBJ
>i:\vfp9\prj\utl\vfptools\toolbox\toolboxengine.prg	ToolboxEngine.AddCategory,	m.oFilterItem = NEWO
>i:\vfp9\prj\utl\vfptools\toolbox\toolboxengine.prg	ToolboxEngine.AddFilter, 2	m.oFilter = NEWOBJEC
>i:\vfp9\prj\utl\vfptools\toolbox\toolboxengine.prg	ToolboxEngine.CreateToolIt	m.oToolItem = NEWOBJ
>i:\vfp9\prj\utl\vfptools\toolbox\toolboxengine.prg	ToolboxEngine.CreateToolsF	oProgressForm = NEWO
>i:\vfp9\prj\utl\vfptools\toolbox\toolboxengine.prg	ToolboxEngine.GetToolObjec	m.oToolObject = NEWO
>
>
>What I don't understand is the first 2 lines of the result, the column "Class Method, Line" has only a line# that is 8.
>If I double click the line, a open class dialog is up for my to choose a class from the _toolbox.vcx, that does not help me to find the code of interest.
>Where exactly can I locate the code?
>Is that a known bug of code references 's search engine?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform