>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