InputBox(): The InputBox() function is used to take the input from
the user at run time.
The general Syntex is: 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.
MsgBox():Displays a dialog box containing a message, buttons, and optional icon
to the user. The action taken by
the user is returned by the function as an integer value.
Syntax: MsgBox(prompt,
buttons, title, helpfile, context)
Arguments:
- Prompt:
The text of the message to display in the message box dialog.
- Buttons:
The sum of the Button, Icon, Default Button, and Modality constant values.
- Title:
The title displayed in the Title-bar of the message box dialog.
- Helpfile:
An expression specifying the name of the help file to provide help
functionality for the dialog.
- Context:
An expression specifying a context ID within helpfile.
No comments:
Write comments