rawKeyUp

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
rawKeyUp <pKeyCode>
Associationsfield
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
pKeyCode

The raw keycode of the released key.

Example
on rawKeyUp theCode -- boldface all asterisks
  get the HTMLText of me
  replace "*" with "<b>*</b>" in it
  set the HTMLText of me to it
end rawKeyUp
Values
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.

RelatedKeyword: control
Function: keysDown
Glossary: current card, event, handle, character, focus, message, modifier key, active control
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.

Tagsui