>Hi All,
>
>I haven't had the need to do this much, but I want to get a list of all the forms in one of my projects that are based on a given form class. I believe that information is in the SCX, so I suppose I could get a directory list of all .scx files and serially open them as tables to look for that.
>
>Is there another approach that might be easier?
Use the Project object to get to all the forms. Then check the FileClass property of each form:
MODIFY PROJECT <your project>
oProject = _VFP.ActiveProject
FOR EACH oFile IN oProject.Files
IF oFile.Type = "K"
IF oFile.File = "The one you want"
ENDIF
ENDIF
ENDFOR
Now, if you want to know all the ones based on a class or one its subclasses, you'll have to a little more.
Tamar