Syntax: the mouseV or mouseV()
The mouseV function returns the current vertical location of the mouse. The location is measured in pixels from the top edge of the card to the mouse pointer.
As indicated in the example, the mouseV function can be used to change 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 button is pressed while the mouse pointer is in the 75-pixel-wide strip along the top of the card, the pointer becomes an I-beam cursor. Otherwise the cursor is an arrow.
if the mouseV < 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 188.8.131.52 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.