Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense for an object own methods
Message
From
21/09/2006 23:09:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01156012
Message ID:
01156263
Views:
20
>Is it for programmatically defined objects or you have this problem with visual classes (you should not)?
>
>For programmatically defined I use a trick from FoxUnit (?)
>#if .f.
>	local this as AssignQueues of AssignQueuesClass.prg
>#endif
Which you don't even need in the code if you've defined your class with "of" clause:
define class numb as digit of number.prg

procedure numbest
this. <-- and intellisense kicks in here
Though this doesn't work every time - depends, I suppose, on Set Path; Set Procedure to {your class prg here} also helps when nothing else will.

I somehow hoped I'd see the solution for the case when I'm editing the class in the code where it's based on a base class, and that intellisense could somehow know the names of other PEMs I already defined. Document View window does... so maybe there's an Intellisense script somewhere out there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform