The choosefolderdialog statement pauses and displays the standard “choose folder” dialog.


This statement has one parameter:

folder – must be a variable. When the statement is finished this variable will contain the path of the folder the user selected.


This statement causes the standard “choose folder” dialog to appear, in preparation for writing a file to the disk. This allows the user to select a folder from the disk. Note: A new, better version of this statement is available – see choosefiledialog. The choosefolderdialog statement is retained for compatibility with older databases.

Here is an example that displays a list of files in the folder chosen by the user.

local targetFolder
choosefolderdialog targetFolder
if targetFolder="" return endif
displaydata listfiles(targetFolder)

See Also


10.0No ChangeCarried over from Panorama 6.0.