Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to enable my class in intellisense
Message
From
30/01/2004 12:48:28
 
 
To
28/01/2004 19:57:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00871625
Message ID:
00872424
Views:
16
Hi, Virusim.

>Recently, I upgrade to using VFP8.
>My application had numerous class
>written by myself.
>
>How can I enable VFP8 intellisense
>to work for my class insteads of
>me having to look at the class browser
>for the class method and properties.
>
>For example
>
> gMisc.LogFileName = "xxx.log"
> gMisc. <---- auto list the methods/properties of my class.

You have to register your class into the Intellisense Manager. Select Tools, Intellisense Manager, Types tab, then click on the Classes button, and select your class (either vcx or prg based).

Then, in your code, you have to declare the instance you're creating as that type. Assuming that your class is called SingaporePeople, you have to write:
local loVirusim as SingaporePeople
                  ^
  [here the Intellisense will showw the type list, including SingaporePeople]
loVirusim. <-- will show your class PEMs
Hope this helps,
Previous
Reply
Map
View

Click here to load this message in the networking platform