Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NewObject and Intellisense
Message
From
06/06/2004 23:51:34
 
 
To
06/06/2004 23:35:25
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00910622
Message ID:
00910625
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform