%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@

 

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited