method InputFolder(ControlName: String, Prompt: String[, Title: String, InitialDir: String])
Define a folder select control on a scripted form that allows input of a folder name.
InputFolder method syntax has these named arguments:
Parameter |
Description |
|---|---|
Control Name |
Required. Name of the control. Must be a valid MaxBasic identifier. |
Prompt |
Required. Prompt text to display to left of the control. |
Title |
Optional. String expression in the title bar of the Select File dialog box. If you omit title, "Browse for Folder" is placed in the title bar. |
Initial Directory |
Optional. The initial directory the folder will load from, for example, "C:\". |
See also MaxBasic InputFolder function.