www.icetips.com  Icetips Utilities Documentation 11/21/2010    

File Select Class: GetFileMasks

Previous  Top  Next  


Prototype: (),String

 

ReturnsReturns the contents of the FileMask string property.

 

This method returns the contents of the FileMask property.  The FileMask property is a string that is passed in by the SetFileMask method.  SetFileMask method calls the ParseFileMask method which breaks it down and adds it to the FileMasks queue property.

 

Example:

FS  ITFileSelectClass

F   CString(1025)

Code

FS.SetFileMask('INI File|*.ini|Text File|*.txt|CSV File|*.csv|All Files|*.*')

!! Same as calling:

!! FS.AddFileMask('INI File','*.ini',True)  !! Start a new FileMask string

!! FS.AddFileMask('Text File','*.txt.')

!! FS.AddFileMask('CSV File','*.csv.')

!! FS.AddFileMask('All Files','*.*.')

F = FS.GetFileMasks()  !! F now contains: 'INI File|*.ini|Text File|*.txt|CSV File|*.csv|All Files|*.*'

 

 

See also:

SetFileMask

ParseFileMask

SelectFile

FileMask

FileMasks

 



Direct link to this page: http://www.icetips.com/manuals/utilities/getfilemasks_fileselect.htm