Syntax: the mouseH or mouseH()
The mouseH function returns the current horizontal location of the mouse. The mouse's location is measured in pixels from the left edge of the card window to the mouse pointer.
As indicated in the example, the mouseH function can be used in a handler that changes the shape of the cursor, depending on its location on the screen.
Add the following handler to the script of the current card. When the mouse is pressed while the mouse pointer is in the 75-pixel wide strip along the left side of the card, the pointer becomes an I-beam cursor. Otherwise, the cursor is an arrow.
if the mouseH < 75 then
set the cursor to ibeam else
set the cursor to arrow end if
This text has been mechanically extracted from the Oracle Media Objects 18.104.22.168 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.