====== CHOOSEDIR Service ====== Calls the common Windows //File// dialog box, modifying the dialog to display and return only directory information. ^Parameter^Description^ |////|Owner window| |////|@FM-delimited array:\\ \\ <1>: Title for the dialog\\ <2>: Initial directory| |//Returnvalue//|The directory path selected by the user or null if the operation was canceled.| ==== See Also ==== [[beep_service|BEEP]] Service [[destroy_service|DESTROY]] Service [[removedir_service|REMOVEDIR]] Service [[choosecolor_service|CHOOSECOLOR]] Service [[flush_service|FLUSH]] Service [[renamedir_service|RENAMEDIR]] Service [[choosedir_service|CHOOSEDIR]] Service [[get_event_service|GET_EVENT]] Service [[renamefile_service|RENAMEFILE]] Service [[choosefile_service|CHOOSEFILE]] Service [[getlogicaldrives_service|GETLOGICALDRIVES]] Service [[runhelp_service|RUNHELP]] Service [[choosefont_service|CHOOSEFONT]] Service [[makedir_service|MAKEDIR]] Service [[runwin_service|RUNWIN]] Service [[copyfile_service|COPYFILE]] Service [[objectid_service|OBJECTID]] Service [[textrect_service|TEXTRECT]] Service [[create_service|CREATE]] Service [[objectlist_service|OBJECTLIST]] Service [[wincount_service|WINCOUNT]] Service [[cursor_service|CURSOR]] Service [[printsetup_service|PRINTSETUP]] Service [[utility|Utility]] function ==== Example ==== declare function Utility value = "Select a directory" : @fm : "c:\temp" dir = Utility( "CHOOSEDIR", @window, value) {{{guides:programming:programmers_reference_manual:utility_choosedir.jpg?326x322}}