the clickLoc or clickLoc()
The clickLoc function returns the point on the window where the cursor was located the last time the mouse was clicked.
Oracle Media Objects returns the location in x and y screen coordinates representing the horizontal offset followed by the vertical offset. The locations are measured in pixels from the top left corner of the card.
Move the cursor to the upper left corner of the window and click. Type the following in the Message Box and press Enter:
The following handler selects an entire line from a locked field when the user clicks on the line. It then displays the line in the Message Box:
set the lockText of me to false
click at the clickLoc
get the selection
put it into clickVar
put "You picked" && quote & clickVar & quote set the lockText of me to true
This text has been mechanically extracted from the Oracle Media Objects 220.127.116.11 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.