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 06:33:57
 
 
To
10/08/2003 18:32:45
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00818729
Message ID:
00818821
Views:
18
Hi Alex

>Sounds interesting, but I can't make it work. Why could that be?

It will only work inside a method definition. Move the 'LOCAL' declaration insid the procedure and it should work just fine:
DEFINE CLASS bizVac AS aBiz OF aBiz.prg
    PROCEDURE Init
      LOCAL This AS aBiz OF aBiz.prg
      * Would like intellisense here
      This.
   ENDPROC
YOu have to re-define it in each method that you want to use it, and the prg must have been saved at least once.
----
Regards
Andy Kramek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform