Mouse and Viz.Input
Code:
viz.callback(viz.MOUSEDOWN_EVENT,onMouseDown) Thanks! |
The viz.MOUSEDOWN_EVENT is only triggered when the mouse is clicked on the main graphics window. If you want to monitor mouse clicks that occur outside the main graphics window, you can create a timer that checks the immediate state of the mouse buttons. Here is some sample code:
Code:
lastState = 0 |
izard 3.0 the mouse event does not seem to be fired when I'm on a slider
In Vizard 3.0 the mouse event does not seem to be fired when I'm on a slider.
I want that after changing the slider (MouseUp_event) some objects are reset. Best, Johannes |
Hi,
If you want to know when a slider is released, then handle the viz.BUTTON_EVENT and check for the slider object. Example: Code:
import viz Code:
import viz |
Thank you!!
Thank you, it worked!
|
All times are GMT -7. The time now is 11:25 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC