GetFolder
Description: |
baGetFolder displays a directory dialog box and returns the folder selected. | ||||
Platforms: |
Windows and Macintosh | ||||
Usage: |
Result = baGetFolder( StartDir, Instruction, Flags, Caption, X, Y ) | ||||
Arguments: |
String, string, integer, string, integer, integer. |
||||
Returns: |
String. Returns the folder selected, or "" if the user cancelled. |
||||
Examples: |
Director: Authorware: |
||||
Notes: |
The flags argument allows you to change the way the dialog box looks and behaves. The following flags are defined.
On Windows, the Caption argument is only used if a 32 bit dialog box is used. If it is an empty string, then the default "Browse for Folder" will be displayed. On Macintosh, if Caption is not supplied, the default "Choose a Folder" will be used. The X and Y values are the number of pixels from the top left corner of the screen. Set X to -1 to position the dialog in the center of the calling Director/Authorware window. Set X to -2 to position the dialog in the center of the screen.
|
||||
See also: |