RAD Studio (Common)
ContentsIndex
PreviousUpNext
Filter editor

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 Filters property.
  • Double-click the Value column for the Filters property.

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

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!