|
WaitALLinput | ||
WaitALLinput MouseMoveFlag, ButtonFlag, KeyFlag | ||
Parameters: MouseMoveFlag = Flag to wait for mouse movements (0= ingore, 1 = wait) ButtonFlag = Flag to wait for mouse button press KeyFlag = Flag to wait for any input from the keyboard (0=ignore, 1 = wait) |
||
Returns: NONE | ||
WaitAllInput will wait until the user either moves the mouse, presses a selected mouse button or hits a key. [ Move Mouse Flags ] 0= Don't accept Mouse Movement to end Wait 1= Accept any mouse movement to end the wait [ Button Flags ] 0= Don't wait for mouse button 1= Wait for the LEFT Mouse button to be pressed 2= Wait for the RIGHT Mouse button to be pressed 3= Wait for either the LEFT or RIGHT buttons to be pressed 4= Wait for the MIDDLE/WHEEL button to be pressed 5= Wait for either the LEFT or MIDDLE/WHEEL buttons to be pressed 6= Wait for either the RIGHT & MIDDLE/WHEEL buttons to be pressed 7= Wait for ANY mouse buttons to be pressed. [ Key Flags ] 0= Don't accept Key Press to end Wait 1= Accept any Key press to end the wait FACTS: * None Mini Tutorial: This tutorials show how the WaitAllInput command can be used to wait for various types of user input before it continues.
This example would output.
|
Related Info: | Timer | Wait | Waitkey | WaitMouse | WaitNOinput | WaitNoKey : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |