:: Forum >>

pb mouse event

example: mouseover
the functions do not return "return true";
These events stop mouseevent treatment by the document.
It is annoying for me.
thierry
Wednesday, November 4, 2009
>> the functions do not return "return true";

Why is this bad? The event handlers normally return 'undefined' and this should not change anything in event propagation.
Alex (ActiveWidgets)
Thursday, November 5, 2009
sorry i mmake certainly a mistake

in this case return false stop propagation
document.onmousemove = drag;
function drag(e){if(Current){Current.moveAction2(e);return false};return true;}

I have a window wich is dragged over the grid. When the mouse in on the grid grid"s events are treated and stop document mouse event (i can not drag anymore).

Have you an idea?

thierry
Thursday, November 5, 2009

This topic is archived.


Back to support forum

Forum search