Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!cwjcc!tut.cis.ohio-state.edu!rutgers!cbmvax!vu-vlsi!swatsun!annie From: annie@cs.swarthmore.edu (Annie Fetter) Newsgroups: comp.sys.mac.hypercard Subject: Re: Trapping RETURN key Keywords: Trap RETURN Message-ID: <2408@ilium.cs.swarthmore.edu> Date: 8 Feb 89 15:26:10 GMT Reply-To: annie@ilium.UUCP (Annie Fetter) Organization: Visual Geometry Project, Swarthmore College, PA Lines: 21 In article <629@ubc-cs.UUCP> blau@ugly.cs.ubc.ca (benjamin c n lau) writes: > > Does anyone out there know how to trap the return-key when the user hits > the RETURN key in a field ??? > > > Benjamin Lau > blau@ugly.cs.ubc.ca There is an XFCN called (surprisingly) TrapReturn which will do just what you want. I got it from BCS, so if you can't find it, send me a note and I'll forward it to you. GoodLuck! -Annie -- Annie Fetter | annie@cs.swarthmore.edu | "We got the VGP-Department of Mathematics | fetter@swarthmr.bitnet | grant! We Swarthmore College | ...!rutgers!bpa!swatsun!annie | Open the Swarthmore, PA 19081 | (215) 328-8225 | champagne!"