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

File Select Class: SetUseShortNames

Previous  Top  Next  


Prototype: (none)

 

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

 

Example:

FS  ITFileSelectClass

Code

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

FS.SetUseShortNames             !! Force use of short 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:

SetUseLongNames

SelectFile

SelectFolder

SelectDir

UseShortFileNames

 

 



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