Error getting tags :
error 404Error getting tags :
error 404 mouseMove | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
mouseMove
Basics
Expander triangle
Type
Message
Syntax
mouseMove newMouseH,newMouseV
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent when the user moves the mouse.
Examples

on mouseMove -- highlight grouped text
if the mouseChunk is not empty and \
"link" is among the items of the textStyle of the mouseChunk
then set the backgroundColor of the mouseChunk to "yellow"
end mouseMove

Additional Comments
Expander triangle

Handle the mouseMove message if you want to perform some action (such as updating a field) when the user moves the mouse, or if you want to keep continuous track of the mouse pointer's position.

Parameters:

The newMouseH is the horizontal distance in pixels from the left edge of the stack to the mouse pointer's current location.

The newMouseV is the vertical distance in pixels from the top edge of the stack to the mouse pointer's current location.

Comments:

The mouseMove message is sent to the control the mouse pointer is over, or to the card if no control is under the mouse pointer. The parameters sent with the mouseMove message describe the mouse pointer's current location.

If the mouse button is down, the mouseMove message continues to be sent to the object that was clicked, even if the mouse pointer moves outside that object. However, if the mouse button was down at the time the pointer entered the control, no mouseMove messages are sent until the mouse button is released while the pointer is still in the control.

User Comments
Expander triangle