The File menu contains options that allow you to create, open, save, and otherwise manipulate files. You can also enter printer information, print files, and exit Visual FoxPro.
New
Displays the New dialog box where you can create new files using designers and wizards. New program or text files are created simply by typing them in the Editing window. Shortcut: CTRL+N
Join Source Control Project
Allows you to create a local version of a source-controlled Visual FoxPro project.
Open
Displays the Open dialog box where you can open an existing file or create a new file. Corresponds to the GETFILE( ) function. Shortcut: CTRL+O
Close
Closes the active window. If you hold down SHIFT and choose the File menu, the Close command becomes the Close All command. Close All closes all open windows. Corresponds to the CLOSE command.
Save
Saves changes to the active file. If the file has not already been saved, the Save As dialog box appears for every file type except connections and views. For unnamed connections and views, Visual FoxPro displays only a text box for the file name. If the file already exists, Visual FoxPro prompts you before overwriting it. Shortcut: CTRL+S
Save As
Displays the Save As dialog box where you can save a new file or save an existing file or object with a different name. Corresponds to the PUTFILE( ) function.
Save As Class
Displays the Save As Class dialog box where you can save a form, or selected controls on a form, as a class definition. Available when you run the Form Designer. Use this command if you intend to create subclasses based on the form or reuse the controls for other forms.
Save As HTML
Opens the Save As HTML dialog box so that you can create a new HTML (Hypertext Markup Language) version of the current form, menu, report, or table. See also _GENHTML system variable.
Save As View
Creates a new view based on the current query. Available from the Query Designer when the active query has been saved and a database is open.
Revert
Discards changes made to a project, query, form, report, label, program, text file, menu, view, or memo field since the file was last saved.
Import
Displays the Import dialog box, where you can import data to a Visual FoxPro table from a spreadsheet or another table format. You can also use the Import Wizard to import files.
Export
Displays the Export dialog box, where you can export data from Visual FoxPro tables to a text file, spreadsheet, or common table format.
Page Setup
Displays the Page Setup dialog box, in which you can adjust column width and page layout for reports or labels. The Page Setup command is enabled when you have a report or label open.
Print Preview
Displays the Print Preview toolbar, which shows you the results of your work without printing it. Use the options on the toolbar to change the preview. You can also click the image of the previewed page to zoom in, and click again to zoom out or return to design mode. This command is enabled when you have a report or label open.
Displays the Print dialog box, which lets you print the current text file, report, label, or the contents of the Command window, or choose another file to print. Shortcut: CTRL+P
Send
Lets you send e-mail from within Visual FoxPro. This command is available only if you have an electronic mail application installed on your machine.
1, 2, 3, 4
Lists the four most recently opened projects. Choose the file you want to open.
Exit
Ends your Visual FoxPro session and returns control to the operating system. Issuing the QUIT command in the Command window or a program has the same effect. Shortcut: ALT+F4