>>I created a VCX file with only one object ie. custom class and added methods to that object. Whenever I double click the object, it opens the same method always. Can I change this default behavior ? I would like foxpro to open a method chosen by me. I am using VFP 5 and 6.
>
>Open a class in the Class Designer and open method you want for editing. After that close the Class Designer w/o closing the method editing window first. The next time you open the class in the class Desiner the edit window for that method will open with it. It requires tnat SET RESOURCE was ON.
VFP remembers the last method opened, even if you close the method before closing the class or form.
Just open the class or form, and issue the command "View | Code" to open this last method opened.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)