Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!pyramid!prls!philabs!micomvax!ncc!alberta!ubc-cs!ugly.cs.ubc.ca!blau From: blau@ugly.cs.ubc.ca (benjamin c n lau) Newsgroups: comp.sys.mac.hypercard Subject: Trapping RETURN key Keywords: Trap RETURN Message-ID: <629@ubc-cs.UUCP> Date: 4 Feb 89 23:49:24 GMT Sender: news@cs.ubc.ca Lines: 13 Does anyone out there know how to trap the return-key when the user hits the RETURN key in a field ??? I know that there is no message sent to the field script if the field property is not set to lock text. If I want to treat each line on the scrolled field as individual line, I need to limit the number of characters in each line and prohibit the entry of a RETURN key. Thanks in advance. Benjamin Lau blau@ugly.cs.ubc.ca