Previous Topic

Next Topic

Book Contents

Book Index

Form Designer File Save Dialog Properties

Navigator > Setup > Form Designer > Layout tab > Component Editor > Properties tab

See also Form Designer Component Properties for properties common to different component types.

The following properties are available for File Save Dialog Components:

DefaultExt

The default file extension to be opened or saved.

FileName

The default file name to be opened or saved.

Filter

Filter by different types of files, such as image files (*.jpg) or all files (*.*).

FilterIndex

Sets the default file filter when the dialog is first opened.

InitialDir

Enter the initial directory to default to.

Options

Click + to expand. Select options for the File dialog:

  • ofOverwritePrompt - if the file is an existing file, the user will be prompted whether to overwrite the file.
  • ofNoChangeDir - prevents the dialog from changing the current directory when the user presses the OK button.
  • ofPathMustExist - restricts the user to selecting a path that already exists.
  • ofNoReadOnlyReturn - prevents the user for opening or saving a read-only file. An error message is shown.
  • ofNoDereferenceLinks - if a shortcut file is selected, the FileName is set to the name of the shortcut itself, rather than the linked file.
  • ofDontAddToRecent - does not add the file name to the list of recent files.

Title

The title displayed on the dialog.