VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
@DIRDLG
Syntax
@DIRDLG(<caption> , <path> { , <shownewfolderbutton>} )
Description
This function displays a standard browser dialog which allows the user to choose a directory, returning the selected directory name when the dialog is closed. The optional caption specifies the text to appear above the browser window.
The directory browser will open with the specified directory selected (<path>). If no argument is specified the default is "My Computer".
The folder browser can optionally display a button captioned "New Folder" which can be used to create a new folder at the current selection point. The third argument <shownewfolderbutton> must be non-null if you want the button to be displayed.
OK
True if dialog was closed with the OK button, otherwise false.
Example
%D = @dirdlg()