Every item in a project has some native type, like form, menu, FREE TABLE, and so forth. The Type Property indicates that type.
cTypeChar = filFile.TypeEach type is indicated by a single character. Some of them make intuitive sense, like "Q" for query or "R" for report. Others are a bit of a stretch, like "D" for FREE TABLE (that is, "DBF") and "V" for class library ("VCX") and a few make no sense at all: "K" for form? Maybe it stands for "sKreen"? Or maybe it's "Kouldn't find a letter we weren't already using?"
You can find the complete list in the Help file.
* Use Type to figure out whether or how you want to process
* each file in a project. Here we'll open forms and programs,
* and ignore everything else.
oProj = _VFP.ActiveProject
FOR EACH oFile IN oProj
IF oFile.Type $ "PK" && Program or Form
oFile.Modify()
ENDIF
ENDFOR