Concept Framework 2.0 documentation Contents | Index

VisibleRemoteObject.OnMotionNotify

Name Type Access Version Deprecated
OnMotionNotify event public version 1.0 no

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.

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

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:08 2011 GMT(c)2011 RadGs Software