answer folder | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Synonyms | answer directory | ||||||||||||
Summary | Displays a standard file dialog for the user to choose a folder. | ||||||||||||
Introduced | 1.0 | ||||||||||||
Changes | The answer folder...as sheet form was introduced in version 2.0. | ||||||||||||
OS | mac, windows, linux | ||||||||||||
Platforms | desktop | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Values |
| ||||||||||||
Related | Keyword: it Command: answer file, revDeleteFolder Function: result, files Glossary: property, return, variable, modal dialog box, export, file dialog box, folder, command, dialog box | ||||||||||||
Security | disk | ||||||||||||
Description | Use the answer folder command when you want the user to choose a folder --for example, as a destination for exported files. If the as sheet form is used, the dialog box appears as a sheet on OS X systems. On other systems, the as sheet form has no effect and the dialog box appears normally. Attempting to open a sheet from within another sheet displays the second stack as a modal dialog box instead. To give a dialog box a prompt when using the as sheet form a non-empty title must be provided. This will cause the prompt to appear in the same place it would if as sheet was not being used. If the systemFileSelector property is set to false, LiveCode's built-in dialog box is used instead of the operating system's standard file dialog. | ||||||||||||
Tags | file system |