Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense - how to? VFP 7 or 8
Message
 
À
26/04/2003 15:13:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00781819
Message ID:
00781864
Vues:
16
Thanks Ken. I'm still not clear though. For example, I can type the following in the VFP command window:
oHTML = NEWOBJECT("avfpHTML","d:\dotcomsolution\avfpdemo2\prg\activevfp.prg")
Now, in the command window, I have intellisense. I can type in oHTML. and get all the methods and properties to choose from. Also, when I type in oHTML.htmltable( , I get the list of available parameters.
I want to be able to do the same thing in a .prg now. I realize that the avfphtml class probably needs to be instanciated somewhere- I guess that's how it's done with VFP web services.



>>My question is: In VFP 7 or 8, I have a Class library in a .prg file that is used by other programmers in their own .prg. How do I get Intellisense turned on in the new .prg so that programmers can see the available methods, properties, and available parameters of methods?? Maybe this is obvious somewhere, but, I'm just not getting it.
>>I was just working recently in VB in a similar scenario and the VB intellisense worked great like this. Is VFP intellisense like VBs or a lot different?
>
>Use the OF [classlib] clause in your LOCAL variable declaration:
>
>LOCAL [ARRAY] ArrayName1(nRows1 [, nColumns1]) [AS type [OF ClassLib]]
> [, ArrayName2(nRows2 [, nColumns2]) [AS type [OF ClassLib]] ]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform