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

File Select Class: GetCaption

Previous  Top  Next  


Prototype: (),String

 

ReturnsReturns 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:

SetCaption

SelectDir

SelectFolder

SelectFile

wCaption

 



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