SET THE FILTER T APPLIED BY THE SYSTEM OBJECT NUMBER N
ACTION
The command FILTER N,T set the filter applied by the system object designated by its number N.
The system object is an OPEN_DIALOG, SAVE_DIALOG, OPEN_DIALOG_PIC, SAVE_DIALOG_PIC.
The filter T is composed of a type of file to be filtered after a comment. To define several types of files, the types must be separated by ";". Per example: filter 2,"sound files|*.wav;*.mp3"
SYNTAX:
FILTER N,T
USE ERROR EXAMPLE
rem create an OPEN_DIALOG
open_dialog 1
rem filter sound files (wav) and display a comment
filter 1,"sound files|*.wav"
rem create a SAVE_DIALOG
save_dialog 1
rem filter sound files (wav and mp3) and display a comment
filter 2,"sound files|*.wav;*.mp3"
FILTER
FILTER N, T
SEE ALSO
OPEN_DIALOG
SAVE_DIALOG
OPEN_DIALOG_PIC
SAVE_DIALOG_PIC
FILE_DIALOG
FILE_NAME$()
DIR_DIALOG