ireland@ac.dal.ca (11/19/90)
I'm having a problem with a stack I'm writing and am hoping somebody can help. I have a background field in which I'm trapping keypresses with "on keydown", and depending on which key is pressed play a short sound and then typing a character in the field. The stack works fine for a while but will then crash. Just before the crash happens the sound goes out, but all else seems fine. All menu items I've checked work fine, but after a dozen or so more keystrokes my mac locks up and I have to restart. This is on a MacPlus with 4 megs RAM running MF, system 6.05, and HC 2.0. Is this a sound problem or a keytrapping problem? I've heard of some sound problems recently, but I thought it was with system 6.07 and HC 1.2. This is a port of a stack I originally implemented with HC 1.2 using Nigel Perry's commandkey XFCN to do the keytrapping. The only things that have changed are the version of HC and the method of keytrapping. I forgot to mention that the keydown handler is in the script of the background field. I've only seen minimal documentation on "keydown" and no mention of any restrictions on the placement of keydown handlers. Thanks for your help, Keith Conover ireland@ac.dal.ca