Skip to main content

searchKey

Type​

message

Summary​

Sent to the current card of the defaultStack when the hardware search button is pressed.

Syntax​

searchKey

Description​

Handle the searchKey message to perform an action when the search button is pressed.

The searchKey message is sent to the current card of the defaultStack when the hardware search button is pressed.

Examples​

on searchKey
answer "You pressed the search key" with "Okay"
end searchKey

message: backKey, menuKey

property: defaultStack

Compatibility and Support​

Introduced

LiveCode 5.0.1

OS

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?