Blue Mango Learning Systems GLX Application Framework version 1.2.0 build 1

Printer friendly version

function glxapp_fileTypeFilterString()

Returns a file type filter string suitable for use with 'ask file with type'.

function glxapp_fileTypeFilterString pFileFilterName
Parameters
TypeNameDescription
Simple parameter. pFileFilterName Name of File Filter object to convert into the string.
Description

'ask file with type' filters the available files that a user can select in the dialog using a specially formatted string. This function will generate that string based on the file extensions that have been defined for a File Type Filter object. The string will look something similar to this:

JPEG file|jpg|JPEG


Example:
put glxapp_fileTypeFilterString("Image Files") into theFilteTypeFilter 
answer file "Select image file:" with type theFilteTypeFilter

Return

File type filter string