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.
Notes: •
•
•
•
•
•
•
•
•
•
InputBox returns a string containing the contents of the text box from the Input-box dialog. If the user clicks Cancel, a zero-length string (" ") is returned. Prompt can contain approximately 1,000 characters, nonprinting characters like the intrinsic vbCrLf constant.
including
If you don't use the default parameter to specify a default entry for the text box, the text box is shown empty; a zero-length string is returned if the user doesn't enter anything in the text box prior to clicking OK .
xpos and ypos are specified in twips. A twip is a device-independent unit of measurement that equals 1/20 of a point or 1/1440 of an inch. If the xpos parameter is omitted, the dialog box is centered horizontally. If the ypos parameter is omitted, the top of the dialog box is positioned approximately one-third of the way down the screen. If the helpfile parameter is provided, the context parameter must also be provided, and vice versa. In VBScript, when both helpfile and context are passed to the InputBox function, a Help button is automatically placed on the InputBox dialog, allowing the user to click and obtain context-sensitive help.
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.