|
GetInputText | ||
InputText$ = GetInputText(InputIndex) | ||
Parameters: InputIndex = The Input handler you wish to query |
||
Returns: InputText$ = The Text that input handler contains |
||
The GetInputText function gets text string from an input handler. FACTS: * The GetInputText function is part of the "Input" expansion library. Therefore in order to use GetInputText in program you need to include that library in your project. To do so, place I.e. #include "Input" at the top of the your program. * Need an old school Input replacement, see the StaticInput() function Mini Tutorial: This example demonstrates the use of asynchronous input. The demo just sets up an input handler and render loop. The loop will execute until the input handler is no longer active (the user pressed Enter). It will then display the entered text message before exiting. The interesting thing about this is that since we control the input loop, we can draw pretty much anything you like while input is taking place. Which is represented by a moving circle.
This example would output.
|
Related Info: | GetInputActive | Input | KeyState | Mouse | NewInput | Scancode | StaticInput : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |