Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing a sub-routine
Message
De
08/01/2005 15:20:39
 
 
À
08/01/2005 13:38:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00975393
Message ID:
00975438
Vues:
13
Jim ---

Not quite what I need either. Document View shows you all the different PROCs, FUNCs, etc in the current PRG. I think it's a handy/dandy tool for jumping around within the same PRG.

My problem has to do with initiating a new editing window for a different PRG than the one I'm currently working on.

The question: If I see a reference to a PRG in code, how do I bring up a new edit window for that PRG?

Cheers,

Jim

>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
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform