Article ID: 191272
Article Last Modified on 8/26/1999
CREATE PROJECT Test1 NOSHOW && Project is not visible.
_VFP.ACTIVEPROJECT.VISIBLE = .T.
_VFP.PROJECTS.COUNTThe various other Project Object properties are listed in the Online documentation and are not fully demonstrated in this article.
STRTOFILE("* Main Test File", "MAIN.PRG") && Creates a program file.
_VFP.ACTIVEPROJECT.FILES.ADD("main.prg") && Adds file to the project.
?_VFP.ACTIVEPROJECT.MAINFILE && Displays the name of the main file.
?_VFP.ACTIVEPROJECT.FILES.COUNT && Displays the number of project files.
?_VFP.ACTIVEPROJECT.FILES(1).TYPE && Displays the file type.
A description for the file can be programmatically added as follows:
_VFP.ACTIVEPROJECT.FILES(1).DESCRIPTION = "Added Programmatically."
?_VFP.ACTIVEPROJECT.FILES(1).DESCRIPTION && Displays description.
?_VFP.ACTIVEPROJECT.FILES(1).LASTMODIFIED && Displays file date.
?_VFP.ACTIVEPROJECT.FILES(1).SCCSTATUS
&& Identifies the file's source code control status.
?_VFP.ACTIVEPROJECT.FILES(1).EXCLUDE
Other components of the Project Object are described in the Programmer's
Guide, Chapter 32, titled "Application Development and Developer
Productivity".
Additional query words: kbVFp600 kbProjManager
Keywords: kbhowto KB191272