Filter editor

From RAD Studio
Jump to: navigation, search

Go Up to Property Editors Index

Use the Filter editor to define filters for the OpenDialog component and the SaveDialog component. These common dialog boxes use the value of Filters in the List Files Of Type combo box to display certain files in the Files list box.

Use the Filter editor to edit the Filter property.

To open the Filter editor

  1. Place an OpenDialog component or SaveDialog component on the form.
  2. With that component selected, do one of the following:
  • Click the ellipsis button [...] in the Value column for the Filter property.
  • Double-click the Value column for the Filter property.

Filter Name column

Enter the name of the filter you want to appear in the Files of Type combo box.

Filter column

Enter wildcards and extensions that will define your filter. For example, *.txt would display only files with the .txt extension.

To apply multiple file extensions to your filter, separate them using a semicolon.