INPUTBOX$ function
Purpose: InputBox function displays a prompt in a dialog box, waits for the user to input text in the edit box or to click a button, and returns the contents of the edit box as a string.
Syntax: Response$ = INPUTBOX$(WindowTitle$, Prompt$, DefaultResponse$) Parameters:
|
Example 1 :
DIM RetStr$ RetStr$ = INPUTBOX$("So Tell Me ...", "Do you like BCX?", "Yes!") MSGBOX RetStr$,"BCX!",0
Example 2 :
MSGBOX INPUTBOX$("So Tell Me ...", "Do you like BCX?", "Yes!"),"BCX!",0