Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump to method definition from code window?
Message
From
03/06/2008 23:13:42
 
 
To
03/06/2008 13:51:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01321362
Message ID:
01321494
Views:
13
>Come on Foxpro!...
>
>When writing code in a code window of a form, is there not a quick way to jump to a method definition within the current form?
>
>For example, if I have a some code that makes a call to a method, can I jump to that method definition in a quick way?
>
>
>thisform.set_fields()
>
>
>When cight-click on the line, and you could choose "View Definition", it scans all the forms in the project looking for that method, and finds it in many forms, and shows a list, but IT DOES NOT INCLUDE THE CURRENT FORM IN THE LIST, even though the current form has this method in it..
>
>
>It's so obvious that I want to go to THISFORM.method(). Why does it look through the whole project, and even worse, miss the definition in the current form?

That´s why I always include a comment line at the top of every method with the method name:

*!* Set_Fields()

That way, just do CTRL-F after you highlight the method name, and you will get there eventually.

Also, when editing the method code, I just highlight the method name in the first line, and then can CTRL-F to every instance where that method is called.

Carlos
Previous
Reply
Map
View

Click here to load this message in the networking platform