%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
vdmousemoveAfter Field
See Also  Example
vdWebLibrary Namespace > vdrawObj Class : vdmousemoveAfter Field
Get/Set a method that called whenever the mouse moves, after default web control actions and can be handled by a function described by the vdmousemoveDelegate.

Syntax

JScript 
public var vdmousemoveAfter : vdmousemoveDelegate;

Example

//Show custom toolip even if an action is active
C#Copy Code
vdcanvas.ToolTip.AutoShow = false; 
vdcanvas.vdmousemoveAfter = _vdmousemoveafter; 
function _vdmousemoveafter(e) { 
    var point = [e.xPix, e.yPix, 0]; 
    var pv = vdcanvas.PixelToView(point); 
    vdcanvas.ToolTip.show(pv, e.x.toFixed(2).toString() + "," + e.y.toFixed(2).toString());//display the world cordinates of the cursor position 
              }

See Also