开发者

gwt mouse over events not fired when mouse button is down

When you push down the left mouse button mouse down event fires. If you then move the mouse over a label (while holding the mouse button down) mouse over event doe开发者_开发问答s not fire.

Is there any way to enable this events or fire them manualy or simulate them?


What you are actually doing is two separate events, one is a mouse down event as you have described and the other is a mouse drag.

If you want to simulate them, that you might have to consider using a mouse click to track the user's (x,y) location. Subsequently, if you want to "simulate" it you could do some computation and decide for yourself if it is indeed a mouse click or mouse drag event that has occurred.

Hope it helps :) Cheers!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜