Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hc!beta!unm-la!unmvax!charon!cs2531as From: cs2531as@charon.unm.edu (Andrew Stone) Newsgroups: comp.sys.mac.hypercard Subject: Intercepting keyDown Events Message-ID: <2438@charon.unm.edu> Date: 3 Mar 88 18:13:00 GMT Reply-To: cs2531as@unmc.UUCP (Andrew Stone) Organization: University of New Mexico, Albuquerque, NM Lines: 28 *?*?*?*?*?*?*?*?*?*?*?*?*?*?*?*?* 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^