Livecode Wiki
Explore
Main Page
All Pages
Community
Interactive Maps
Recent Blog Posts
Wiki Content
Recently Changed Pages
Replace
MobileSensorReading
Uploading files on livecode web server
Round
Field
Tab panel
Metadata
Community
Recent blog posts
Forum
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Livecode Wiki
2,318
pages
Explore
Main Page
All Pages
Community
Interactive Maps
Recent Blog Posts
Wiki Content
Recently Changed Pages
Replace
MobileSensorReading
Uploading files on livecode web server
Round
Field
Tab panel
Metadata
Community
Recent blog posts
Forum
Editing
ReturnKey
Back to page
Edit
Edit source
View history
Talk (0)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
A Message sent to the active [[object(glossary)|object]] when there is no text [[selection]] and the user presses the Return key. If there is a message handler by the same name in the message path, then it will be executed. == Message == Syntax: returnKey The Return key (confusingly labeled "Enter" on some keyboards) is usually located above the right-hand Shift key. It is the key you press to go to a new line. The message is sent to the active (focused) control, or to the current card if no control is focused. If there is a text selection or insertion point in a field (or a button whose menuMode is "comboBox" ) and the user presses Return, the [[returnInField]] [[message]] is sent instead of [[returnKey]]. == Message handler == Examples: on returnKey -- go to the next card when the user presses return go next card end returnKey Use the [[returnKey]] Message handler to perform an action when the user presses Return. See also: [[returnInField]].[[Category: ui]] [[Category:GUI]] [[Category:Keyboard]]
Summary:
Please note that all contributions to the Livecode Wiki are considered to be released under the CC-BY-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab