Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewObject and Intellisense
Message
De
06/06/2004 23:51:34
 
 
À
06/06/2004 23:35:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00910622
Message ID:
00910625
Vues:
20
>How can I benefit from Intellisense WITH newObject, eg,
>
> oListener = NEWOBJECT("HTMLListerner",HOME(0)+"ffc\_reportListerner.vcx")
> oListener. <-

If you mean in the Command Window, just type your code as above, but spell the class name and classlib correctly. :-)
oListener = NEWOBJECT("HTMLListener",HOME(0)+"ffc\_reportListener.vcx")
oListener.
If you mean while typing code in a code editing window, you must use the LOCAL ... AS ... syntax to enable IntelliSense:
LOCAL oListener AS ReportListener
oListener = NEWOBJECT("HTMLListener",HOME(0)+"ffc\_reportListener.vcx")
olistener.

LOCAL oListener2 AS ReportListener
DO (_reportoutput) WITH 5, oListener2
oListener2.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform