Navigation:  Reference > Graphical User Interface Classes > Widget > Properties >

FileMask

Previous pageReturn to chapter overviewNext page

FileMask: String

For FileOpen and FileSave widgets, this is the file mask thats used to filter file names.  This is stored as a pipe-delimited string, as such:  "description|mask|description|mask".

 

Example:

'To offer filters for .sector files, or files of any type:

fo.FileMask = "Star Sectors (*.sector)|*.sector|All Files (*.*)|*.*"