Silverfrost Logo About Us | Contact Us
 

%ft - Filter for File Dialog

Purpose

To specify filter information for subsequent file open call-backs.

Syntax

winio@('%ft[filter_type][wild_card]')

Modifiers

Grave accent (`) - used to start again rather than add to earlier %ft information.

Description

filter_type is the description of the type of file, wild_card represents the file extension of the files to be listed in the standard file-open and file-save dialog boxes. filter_type and wild_card are standard character strings (can be replaced by @) but %ft cannot be used to change this information dynamically at run time (use get_filtered_file@ instead).

%ft can be used more than once to supply a number of different filters.

Example

winio@('%ft[Text files][*.txt]')

See also

%fs - Directory for File Dialog, get_filtered_file@, set_open_dialog_path@

 

 

 

Copyright © 1999-2017 Silverfrost Limited