Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Activating String Gadgets Keywords: gadget string Message-ID: <19475@cbmvax.commodore.com> Date: 4 Mar 91 14:52:21 GMT References: <49482@seismo.CSS.GOV> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 16 In article <49482@seismo.CSS.GOV> black@beno.CSS.GOV (Mike Black) writes: >I'm creating a window with several string gadgets and it would be real nice >to specifically select any gadget, or to cascade among them when the user >hits the return key (it's a real pain to have to select each and every >gadget). Could some kind soul 'splain how to do this? >Mike... The function ActivateGadget() will do what you want. You have to track which gadget you want active when another finishes. Make sure that the gadgets are RELVERIFY. When you get a GADGETUP event, activate the next one. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky