To be more precise. I am working on a Form called uditempl.scx. This Form has a method called [colourgridcheck]. On running the Form, the [Valid Method] of one of the Grids in uditempl.scx calls a class.
>
>Here's where I am stuck.
>
>This class has to call the method [colourgridcheck] which is in the calling Form uditempl.scx. The code of the class is in the main [calling] prg file.
>
>The answer to the query may be in the earlier advice you have provided. But I was unable to catch up.Hilmar has given you a good example of how to call a method in another form. Another idea, if you have a method or portion of code that is reusable, is to extract it from the form and put it outside, maybe in a utility class (like oAPP) or maybe in a separate PRG. This way you can call this routine from both forms, instead of having to have one form depend on another.
HTH