on mouseDown [<pixelColor>] end mouseDown
For locked text fields:
on mouseDown [<word> [, <wordnum>]] end mouseDown
For dataSheets and pickLists
on mouseDown [<row> [, <col>]] end mouseDown
For all other objects:
Sent to all objects, except the palette, sound, path, and timer _______________________________________ Description:
The mouseDown system message is sent to the topmost nonhidden object under the mouse pointer when the user presses the mouse button. If that object has no handler for the message, it travels up the message hierarchy. Generally this message should not be used to begin a button selection routine, because the button would be selected as soon as the user clicked the mouse button. Compare this to mouseUp, which sends the message when the user releases the mouse button.
If the user clicks on a physical cell of a locked dataSheet or pickList, two parameters are sent with the mouseDown message identifying the row and column of the data that was clicked.
For bitmaps, the mouseDown message carries a parameter that describes the color of the pixel that was clicked on. The message is only sent when the user clicks on a painted, nonwhite pixel.
For fields, two parameters are sent with the mouseDown message. The first parameter contains the text of the word that was clicked on. The second parameter contains the position of that word in the field i.e., what number word it is. To get the two parameters, the field's lockText must be set to true.
The mouseDown message is not issued if the user places the insertion point or makes a selection in an unlocked field or dataSheet cell. In this case, all movements of the mouse and all keystrokes are processed directly by Oracle Media Objects.
Create a button and put the following handler into its script:
repeat until the mouse is up
set the loc of me to the mouseLoc end repeat
This text has been mechanically extracted from the Oracle Media Objects 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.