Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense for parameters used in PROCs?
Message
From
18/03/2005 13:26:15
 
 
To
18/03/2005 10:13:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00997213
Message ID:
00997365
Views:
14
And I take it by your reply that Intellisense doesn't apply to PROCs within a PRG.

Ah, well, it was a nice thought / Jim


>Oh you mean it was a single prg with Procedure(s) in it. I got it wrong then.
>Cetin
>
>
>>Cetin --
>>
>>While this looks valuable (and is presumably preferable to using PRGs with multiple PROCs?), it doesn't help much with my current applications which use PRGs with PROCs. I was just hoping intellisense could help me in some way (without requiring me to re-structure the existing application -- I'd need a stronger reason than this to do so.)
>>
>>Jim
>>
>>
>>>
>>>* MyClassLib.Prg
>>>define class myClass as custom
>>>procedure myProc
>>>lparameters p1 as string, p2 as integer
>>>endproc
>>>enddefine
>>>
>>>
>>>In any code window (or command):
>>>
>>>
>>>local x as "myClass" of "myClasslib.prg"
>>>*x = NewObject("myClass","myClasslib.prg") && My preference over set proc
>>>*with or w/o writing NewObject(), CreateObject() intellisense is in effect
>>>x. && PEM list
>>>x.myProc( && Param list
>>>
>>>Cetin
>>>
>>>>Cetin ...
>>>>
>>>>Something I'm missing here ... I have a PRG named StdProcs.PRG. It's in my SET PROC list. Using your suggestion, I can't seem to get anything from intellisense, either in the command window, or in a PRG.
>>>>
>>>>Where am I supposed to put the first line of text you suggested? (It looks completely unfamiliar to me.)
>>>>
>>>>Thanks
>>>>
>>>>Jim
>>>>
>>>>>>Is there a way to get Intellisense to remind me of the parameters to procedures defined in a PRG which is in my "SET PROC" list? (the same way that it will for methods when I do something like
thisform.myMethod(
>>>>>>Thanks
>>>>>>Jim
>>>>>
>>>>>local x as 'class' of 'classlib.prg'
>>>>>x.myProc(
>>>>>
>>>>>Cetin
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform