Path: utzoo!attcan!uunet!philmtl!altitude!speedy.CAM.ORG!Sylvain From: Sylvain@speedy.CAM.ORG (Sylvain Tremblay) Newsgroups: comp.sys.amiga.tech Subject: Re: String Gadgets Message-ID: Date: 27 Jun 90 02:59:08 GMT References: <1990Jun25.212817.9615@cunixf.cc.columbia.edu> Lines: 26 >In article <1990Jun25.212817.9615@cunixf.cc.columbia.edu> will@cunixf.cc.columbia.edu (William Chou) writes: > > When you have alot of string gadgets to write data to, how do you > auto-activate each one after the user finishes with the previous > string gadget? Is there a way to poll for certain keys, such as > the cursor keys, when using string gadgets? The only thing you can do WITHOUT an input handler is waiting a GADGETUP message. This message is sent by intuition whenever a user presses RETURN in a string gadget. If you want to monitor the cursor keys, you'll have to write an input handler. OR You can wait for 2.0. In that version of the OS, I think that there are functions that let you set up some keys with string gadgets that, when pressed, call a certain function. -- Sylvain __ +-----------------------------------------------------------------///------+ | Sylvain Tremblay INTERNET: Sylvain@speedy.CAM.ORG __ /// /| | | Montreal, Qc, Canada CIS: 71640,666 \\\/// # | | | (514) 256-3779 or: 71640.666@compuserve.com \XX/ _|_ | +--------------------------------------------------------------------------+