Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code reference can't search its own vcx and scx
Message
De
04/01/2008 15:23:00
 
 
À
03/01/2008 20:46:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01279344
Message ID:
01279491
Vues:
15
>So far, I have no problem searching with Code Reference except for this case. As I have mentioned, for the same string being searched, once the scx or vcx file is renamed, the search is done correctly... so it is not a pure searching problem, I feel like something else is blocking the search in those files, I just can't be sure what is that?

When you have the Code Reference form open for searching, VFP knows that the form is open and the file name associated to the form. Now when you try to search the contents of the SCX with the same name as the Code References form, instead of opening the file on the file system to search, instead VFP tries to USE the one that is in memory.

So in short, you cannot search a form with the same name as the Code References form. This also applies to any of the supporting objects (such as visual classes) that are opened for the displayed form.

I had this problem when I developed an editor for VFP -- I could not use the editor to edit itself.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform