Friday, 22 July 2011

InputBox Function

InputBox Function:

The InputBox function displays a dialog box containing a label, which prompts the user about the data you expect them to input, a text box for entering the data, an OK button, a Cancel button, and optionally, a Help button. When the user clicks OK, the function returns the contents of the text box.

Syntax: InputBox(prompt,title,default,xpos, ypos, helpfile, context)

Arguments:
* Prompt: The message in the dialog box.
* Title: The title-bar of the dialog box.
* Default: String to be displayed in the text box on loading.
* Xpos: The distance from the left side of the screen to the left side of the dialog.
* Ypos: The distance from the top of the screen to the top of the dialog box.
* Helpfile: The Help file to use if the user clicks the Help button on the dialog box.
* Context: The context number to use within the Help file specified in helpfile.

No comments:

Post a Comment