|
InputQuery | |
UserText$ = InputQuery(Title$, Prompt$, [Input$]) | |
Parameters: Title$ = The TITLE this message dislog should use Prompt$ = The message/Question to be shown to the user [Input$] = Optional current state Of the Inputs Text Field. |
|
Returns: UserText$ = The text that the user entered. |
|
InputQuery pops a windows input query dialog. The dialog allows the user to enter a row of text. It could be used to ask the player their name, age etc. FACTS: * Since InputQuery returns the input data as a string. It's perfectly possible for the user to enter a NULL string and press the YES or NO buttons. To make the user didn't Cancel (select NO), we use the DialogNotCanceled function. * InputQuery is not asynchronous, so the PlayBasic application will halt while the dialog is open. |
|
Example Source: Download This Example
|
Related Info: | DialogNotCanceled | ShowMessage : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |