Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 772

Getting Started with LiveCode - Complete Beginners • Re: How to detect user holding enter key down

$
0
0
Unfortunately , unlike the terms shiftKeyDown and controlKeyDown, there are not equivalents for the RETURN or ENTER keys.

But my extremely simplistic stack:
-
Screenshot 2024-06-19 at 14.51.01.png
-
May prove vaguely useful.

Here's the cardScript:

CODE:

on enterKey   put "ENTER" into fld "ff"  wait 20 ticks  put empty into fld "ff"end enterKeyon returnKey   put "RETURN" into fld "ff"   wait 20 ticks   put empty into fld "ff"end returnKey

Statistics: Posted by richmond62 — Wed Jun 19, 2024 12:52 pm



Viewing all articles
Browse latest Browse all 772

Trending Articles