file.getDiskDialog

Syntax file.getDiskDialog (prompt, addr)

Params prompt is a string to be displayed in the dialog.

addr is the address of an Object Database location where the name of the disk volume is stored if the user clicks "OK" in the dialog.

Action Prompts the user to select one of the mounted disk volumes.

Returns True if the user clicked on OK, false if the user cancels the action. Also places the user's volume selection at addr.

Examples file.getDiskDialog ("Choose a disk:", @s); return (s)

   » "F:\\"


file.getDiskDialog ("Choose a volume:", @s);
return (s)

   » System:

See Also file.getFileDialog

file.getFolderDialog

file.putFileDialog

Discuss