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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement