Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: Control Z Message-ID: <45707@apple.Apple.COM> Date: 16 Oct 90 22:22:52 GMT References: <7220.271acac0@jetson.uh.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 24 In article <7220.271acac0@jetson.uh.edu> englfz@jetson.uh.edu writes: >I can't figure out how to get HyperCard to recognize a and >pass it to the mainframe. Without that, the whole thing is probably >useless. HyperCard treats a field or message box with in >it as empty. I'm not completely sure I understand what the problem is, but this should work: on controlKey theKey if theKey is 26 then -- control-Z was typed sendSerial numToChar(26) -- or however you're sending characters else pass controlKey end controlKey The controlKey message is sent whether or not a field is currently open for editing. -- ========= jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.sf.ca.us | compilation copyright without my permission. ______________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. |