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,