Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding multiple classes to Intellisense
Message
De
03/12/2002 22:00:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00729189
Message ID:
00729253
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>"You might have to declare it first, though."
>
>Exactly. That's my problem.
>
>Intellisense doesn't know what the PEMs are until I do "LOCAL loFoo AS ClassFoo" to let it know. But in order to do that, I have to add my classes to the list that pops up when I get as far as the "AS".

Actually, you don't... you only have to add the classes it you want them to show up on the drop down. Althouhg, if you don't put them into intellesense you may need to put the full path after the word "AS".

As you have seen, the Intellesense Manager only lets you add one custom class at a time. Of course, this is VFP, and the metadata for intellesense is stored in a table. You can ?_foxcode to see the name and path of this table. So, add a class manually, then look at the _foxcode table and see what values where put into what fields. I am sure then it will be a simple matter to write a little prg that gets all the classes from all the .VCX's in a directory and add them as types to the foxcode table.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform