Partager via


Open Dialog Box

Lets you open an existing file or create a new file. Previously opened projects appear at the bottom of the File menu. Corresponds to the GETFILE( ) function.

You can open a previously opened project by choosing its name from the bottom of the File menu.

Note   Files created with the Open command are not added to a project.

Shortcut

CTRL+O

This dialog box appears when you select Open from the File menu.

  • Code Page
    Displays the Code Page dialog box so you can specify the code page needed to view the file correctly. This command applies only to text files such as program (.prg), query (.qpr), and text (.txt) files.
  • Environment
    Saves all environment settings with the file, and opens the associated environment when you open the file. This option is enabled when you choose Form, Label, or Report from the List Files of Type list, and is checked by default. To open a form, label, or report without opening an associated environment, clear the check box.
  • Exclusive
    Allows you exclusive use of a table (.dbf) or database (.dbc) file so that no other user can open the file. This option is enabled only when a table is to be opened. Corresponds to the USE command.
  • Open As Read Only
    Specifies that the file you open cannot be modified, only reviewed.
  • Class Name
    Displays classes stored in the class library displayed in the Class Name box. This list appears only when you open a class library.
  • Preview
    Allows you to preview graphic files when they are selected in the files list. This check box appears only when you can open or select a graphics file. For example, this check box appears in the Open dialog when you add an Image control to a form and double-click the Picture property in the Properties window.

See Also

Open Picture Dialog Box | New Class Dialog Box | Code Page Dialog Box | GETFILE( ) Function | Open Picture Dialog Box | USE EXCLUSIVE Command | USE Command