[comp.sys.mac.hypercard] Intercepting keyDown Events

cs2531as@charon.unm.edu (Andrew Stone) (03/04/88)

		*?*?*?*?*?*?*?*?*?*?*?*?*?*?*?*?*

In developing a stack for use at conventions by many, possibly novice, users,
I keep running into a tough problem.


The  tilde/accent grave key (chr(126)) when depressed, causes a GO BACK,
EVEN without the CommandKey depressed!  Since users must tab between fields,
poor typists have inadvertently hit the  "~" key and subsequently gotten lost.

Basically, I would like to intercept the keydown event for that char.

Has anyone written an XCMD or XFCN to do this?

An XFCN which gets called on each keydown might get expensive, but it 
would return the the char code of the depressed key.

Any help would be deeply appreciated...
     


	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	|	Andrew Stone     GEnie:ASTONE      505-345-4800		|
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	|      			"plate of shrimp."			| 
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	|		UUCP: cs2531as@charon.unm.edu			|	
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^