VisibleRemoteObject.OnMotionNotify


public event OnMotionNotify

Prototype:

OnMotionNotify(Sender, EventData)

Parameters

Sender
the event firing control
EventData
contains a string, encapsulating the X and Y relative coordinates separated by ":" and the state of the modifier keys(Alt, Shift, Ctrl, etc)

Description:

Event triggered by user moving pointer.
Evaluating EventData like this :

    EventData=StrNumberSplit(EventData,":");
    X=EventData[0];
    Y=EventData[1];
    state=EventData[2]

will give you the x, y and the state of the modifier keys.

Return value:

This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.