Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to enable my class in intellisense
Message
 
 
À
28/01/2004 19:57:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00871625
Message ID:
00872424
Vues:
17
Hi, Virusim.

>Recently, I upgrade to using VFP8.
>My application had numerous class
>written by myself.
>
>How can I enable VFP8 intellisense
>to work for my class insteads of
>me having to look at the class browser
>for the class method and properties.
>
>For example
>
> gMisc.LogFileName = "xxx.log"
> gMisc. <---- auto list the methods/properties of my class.

You have to register your class into the Intellisense Manager. Select Tools, Intellisense Manager, Types tab, then click on the Classes button, and select your class (either vcx or prg based).

Then, in your code, you have to declare the instance you're creating as that type. Assuming that your class is called SingaporePeople, you have to write:
local loVirusim as SingaporePeople
                  ^
  [here the Intellisense will showw the type list, including SingaporePeople]
loVirusim. <-- will show your class PEMs
Hope this helps,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform