Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get intellisense when defining a class in code?
Message
From
11/08/2003 11:50:05
 
 
To
11/08/2003 11:30:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00818729
Message ID:
00818941
Views:
21
Hi Alex

>Found the problem. It is not enough to say DEFINE CLASS xx AS yy of zz.prg. In order for intellisense to work VFP must be able to find the class because you SET PROC TO zz.prg or, I imagine, SET CLASSLIB to zzz.vcx.

No, absolutely not!

It is not necessary to use SET PROCEDURE or (SET CLASSLIB) providing that VFP can find the specified file in its search path or you specify the source as a fully qulaified path and filename.

The issue with the code posted was, as I said, that the LOCAL declaration must be inside the Method declaration - you cannot place it inside the Class!
----
Regards
Andy Kramek
Previous
Reply
Map
View

Click here to load this message in the networking platform