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