Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!sdcrdcf!ism780c!tim From: tim@ism780c.UUCP (T.W."Tim" Smith, Knowledgian) Newsgroups: comp.sys.mac.programmer Subject: Re: Fake a KeyDown as MouseDown in Moda Message-ID: <9788@ism780c.UUCP> Date: 26 Apr 88 15:09:09 GMT References: <7735@ames.arpa> <226000008@uxe.cso.uiuc.edu> Reply-To: tim@ism780c.UUCP (T.W."Tim" Smith, Knowledgian) Organization: Suction and Pressure Lab, California Institute of Lawsonomy Lines: 16 In article <226000008@uxe.cso.uiuc.edu> leonardr@uxe.cso.uiuc.edu writes: < soe@ames.arpa(Brad Soe) writes in comp.sys.mac.programmer < >I want the dialog to behave in such a way that if the user < >hits the return key in one textedit box, the cursor < >automatically goes to the next text box and activates it. < Although I have not actually tried this, I see no reason why you could not < just change the keydown from a return to a tab and then pass it back to the < the standard filter which would then process it the way you want. Why use RETURN in the first place? Use TAB to mean "go to the next text box". This will a) be easier to implement, since it already works that way, and b) be consistant with the way everyone else does it. -- Tim Smith tim@ism780c.isc.com "I don't practice what I preach because I'm not the kind of person I'm preaching to" -- J.R. "Bob" Dobbs