DoubleClick Message


For bitmaps:
on doubleClick [<pixelColor>] end doubleClick For dataSheets and pickLists on doubleClick [<row> [, <col>]] end doubleClick For all other objects: on doubleClick end doubleClick For locked text fields: on doubleClick [<word> [, <wordnum>]] end doubleClick Sent to the double-clicked object or card


The doubleClick message is generated whenever the user double-clicks on an object. When a physical cell of a dataSheet or pickList is clicked, two parameters are sent with the doubleClick message identifying the row and column of the data that was clicked. When a bitmap is clicked, the doubleClick message carries a parameter that describes the color value of the pixel that was clicked. For fields, two parameters are sent with the doubleClick 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 first click of a double-click sends mouseDown and mouseUp messages; the second click sends doubleClick and mouseUp messages. The speed of the double-click is determined by system settings.
This text has been mechanically extracted from the Oracle Media Objects MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.