Previous Topic

Next Topic

InputCountry - MaxBasic Function

InputCountry(Prompt: String[, Title: String, Default: String, AllowEmpty: Boolean]): String

Displays a prompt in a dialog box, User must input a valid country or click a button, and returns a country code.

Note, if User clicks OK or presses Enter InputCountry function returns the country code. If User clicks Cancel or presses Esc, function returns Null.

InputCountry 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.

Default

Optional. String expression with the default Country name or code. If you omit default, the control will display empty.

Allow Empty

Optional, defaults to False. Determines if the Lookup can be cleared after a value has been selected.

See also Scripted Form InputCountry method.

See Also

Input Functions

Book Contents

Book Index