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

File Select Class: SetUseLongNames

Previous  Top  Next  


Prototype: (none)

 

This method sets the UseShortFileNames to False.  This instructs SelectFile and SelectFolder/SelectDir to return the long file- or path name.

 

Example:

FS  ITFileSelectClass

Code

FS.SetDefaultPath(INIMgr.Fetch('UpdateGetFromINI','FS:INIFilename'))

FS.SetUseLongNames             !! Force use of Long file/folder names

FS.SelectDir(?Loc:IniFileName)  !! Use the FEQ from an entry field

!! Or:

FS.SelectDir(Loc:IniFileName)   !! Use a variable

INIMgr.Update('UpdateGetFromINI','FS:INIFilename',FS.GetFilePart(Loc:IniFileName,FNS_FullPath))

 

 

See also:

SetUseShortNames

SelectFile

SelectFolder

SelectDir

UseShortFileNames

 

 



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