Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't Intellisense work for PUBLIC variables
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00596149
Message ID:
00596226
Views:
24
>I have declared a PUBLIC recordset object. However intellisense does not work when i try to use the object inside a function, even if it's in the same file. Is there a reason? Any alternatives I can use?

Intellisense doesn't look outside of the current function to get variable types. The alternative is, assign the public variable to a local one, and use the LOCAL AS.

One thing, why are you using a public object? There is almost always a better solution than a public variable.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform