|
Previous Top Next |
Prototype: | (),String |
Returns | Returns the contents of the wCaption property |
This method returns the contents of the wCaption property. The wCaption property stores the caption to be used with the FileDialog call in the SelectFile and SelectDir methods. wCaption defaults to "Select File" and "Select Folder" for SelectFile and SelectFolder/SelectDir respectively.
Example:
FS ITFileSelectClass
Code
FS.AddFileMask('INI File','*.ini',True)
FS.AddFileMask('All Files','*.*.')
FS.SetCaption('Select INI file')
FS.SelectFile(?Loc:IniFileName)
Message('Caption was: ' & FS.GetCaption()) !! Displays "Select INI file"
See also: