InputEvent3D()
Syntax
InputEvent3D(MouseX, MouseY, LeftMouseButton [, Text$, SpecialKey])Description
Send an event to the 3D GUI system. It is required to have WindowEvent3D() working.
Parameters
MouseX, MouseY The new mouse coordinate to use. LeftMouseButton Left mouse button state. It can be one of the following value: 0: left mouse button is released. 1: left mouse button is pushed.Text$ (optional) The text to use as input. SpecialKey (optional) The special key to use as key press. It can be one of the following value: #PB_Key_Back #PB_Key_Delete #PB_Key_Return #PB_Key_Up #PB_Key_Down #PB_Key_Left #PB_Key_Right
Return value
None.
Example
; ; Typical code to use to send to the 3D GUI system with actual mouse and keyboard events ; If ExamineKeyboard() And ExamineMouse() Input$ = KeyboardInkey() InputEvent3D(MouseX(), MouseY(), MouseButton(#PB_MouseButton_Left), Input$, 0) EndIf
See Also
WindowEvent3D()
Supported OS
All