Skip to main content

rawKeyUp

Type​

message

Summary​

Sent when the user releases any key that was pressed (other than a modifier key).

Syntax​

rawKeyUp <pKeyCode>

Description​

Handle the rawKeyUp message if you want to intercept raw events from the keyboard or if you want to handle keys that aren't mapped to any character.

Parameters​

NameTypeDescription

pKeyCode

The raw keycode of the released key.

Examples​

on rawKeyUp theCode -- boldface all asterisks
get the HTMLText of me
replace "*" with "&lt;b&gt;*&lt;/b&gt;" in it
set the HTMLText of me to it
end rawKeyUp

Value​

NameTypeDescription

the result

If the rawKeyUp message is sent as the result of a keypress, the message is sent to the active control, or to the current card if no control is focused. If the message is sent as the result of typing something in a field, the rawKeyDown message is sent before the text is changed, and the rawKeyUp message is sent after the change has been made.

keyword: control

function: keysDown

glossary: current card, event, handle, character, focus, message, modifier key, active control

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?