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

File Select Class: SetDefaultDir

Previous  Top  Next  


Prototype: (String pDefaultPath)

 

pDefaultPathPath to assign to DefaultPath.

 

This method calls the SetDefaultPath to assign the DefaultPath property with the pDefaultPath parameter.  For more detailed information see SetDefaultPath.

 

Example:

FS  ITFileSelectClass

Code

FS.SetDefaultDir(INIMgr.Fetch('UpdateGetFromINI','FS:INIFilename')) !! Set the default path

FS.SetUseShortNames

FS.SelectDir(?Loc:IniFileName)

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

 

 

See also:

SetDefaultFolder

SetDefaultPath

SelectFile

SelectFolder

SelectDir

SetForceDefaultPath

DefaultPath

ForceDefaultPath



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