Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing a sub-routine
Message
From
08/01/2005 13:38:19
 
 
To
08/01/2005 11:11:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00975393
Message ID:
00975422
Views:
11
Jim,

I think what you're looking for is "Document view".

Under Tools click on "Document view" then open your .prg and see what you see in the "Document view" window. Clicking on any line in the Document view window brings you directly to the (sub)prg you clicked on.

cheers

>
>Is there some mouse or keyboard shortcut that allows to highlight a PRG (occurring in a PRG, or, for that matter, in any code) and begin editing it? The only way that I am aware of is to copy it, Ctrl+F2, "MODI COMM ", and then paste it.
>
>Jim
>
>
>
>>I updated my first answer too late for you to see it. No double-click, but have you checked the Code Reference under Tools?
>>
>>>Yes -- in another world, I was able to double-click on a sub-routine name to edit that sub-routine. Is there something equivalent here in VFP?
>>>
>>>
>>>
>>>>Do you mean to open MySubroutine.prg which already exists?
>>>>
>>>>>Is there some simple way, when editing a PRG, to begin editing a PRG that is called there?
>>>>>
>>>>>If I have
>>>>>
>>>>>   bla-bla-bla
>>>>>   MySubroutine(params)
>>>>>   bla-bal-bla
>>>>>
>>>>>is there some way to begin editing 'MySubroutine' other than be copying and pasting it to the command window where I can do MODI COMM?
>>>>>
>>>>>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform