Calls the common Windows File dialog box, modifying the dialog to display and return only directory information.

ParameterDescription
<object>Owner window
<value>

@FM-delimited array:

ValueDescription
<1>Title for the dialog
<2>Initial directory
ReturnvalueThe directory path selected by the user or null if the operation was canceled.

See Also

Name
BEEP Service
CHOOSECOLOR Service
CHOOSEFILE Service
CHOOSEFONT Service
COPYFILE Service
CREATE Service
CURSOR Service
DESTROY Service
FLUSH Service
GET_EVENT Service
GETLOGICALDRIVES Service
MAKEDIR Service
OBJECTID Service
OBJECTLIST Service
PRINTSETUP Service
REMOVEDIR Service
RENAMEDIR Service
RENAMEFILE Service
RUNHELP Service
RUNWIN Service
TEXTRECT Service
WINCOUNT Service

 Example

declare function Utility
value = "Select a directory" : @fm : "c:\temp"
dir = Utility( "CHOOSEDIR", @window, value)