Nerves getting raw from rawKeyDown
Richmond Mathewson
richmondmathewson at gmail.com
Sat Nov 28 08:26:44 EST 2009
Still not as quite as simple as it seems:
on rawKeyDown RAWK
switch RAWK
case 121
put "Fred Flintstone" into fld "fTEXT"
break
case 122
put "Barney" into fld "fTEXT"
break
default
put "Dino" into fld "fTEXT"
end switch
pass rawKeyDown
end rawKeyDown
When I press the 'q' button I get
qDino in fld "fTEXT"
and when I press the 'y' button I get
yFred Flintstone
which is a REAL problem as I would like
Fred Flintstone without prefixes!
Obviously pass rawkeydown sends the keydown
of those keys that have already been filtered.
More information about the use-livecode
mailing list