Previous Topic

Next Topic

InputFileOpen - MaxBasic Function

InputFileOpen(Prompt: String[, Title: String, InitialDirectory: String, Filter: String]): String

Displays a prompt in a dialog box, User must input or select a valid file name, and returns the file name as a string.

InputFileOpen function syntax has these named arguments:

Parameter

Description

Prompt

Required. String expression displayed as the message in the dialog box.

Title

Optional. String expression displayed in the title bar of the dialog box. If you omit title, the application name is placed in the title bar.

Initial Directory

Optional. The initial directory the file will load from, for example, "C:\".

Filter

Optional. The list of file filters, separated by pipes, for example, "Text Files(*.txt)|*.txt".

See also Scripted Form InputFileOpen method.

See Also

Input Functions

Book Contents

Book Index