ReturnKey Message


on returnKey
end returnKey Sent to the current card


The returnKey system message is sent to the current card when the user presses the Enter key, except while the user is responding to an answer or ask command orediting text in a dataSheet or an unlocked field. If the message is not intercepted, Oracle Media Objects executes the contents of the Message Box. If a field is open for text editing, pressing the Enter key types a return character in the field. In a dataSheet, pressing the Enter key moves the cursor to the next row. The Return key on the Macintosh keyboard and the Enter key on the PC keyboard are equivalent in Oracle Media Objects. To ensure compatibility, use returnKey on both platforms.


If you want to use the Message Box during development on a card that intercepts returnKey messages, add the following line to the top of your returnKey handler:
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.