black@beno.CSS.GOV (Mike Black) (03/02/91)
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... -- ------------------------------------------------------------------------------- : usenet: black@beno.CSS.GOV : land line: 407-494-5853 : I want a computer: : real home: Melbourne, FL : home line: 407-242-8619 : that does it all!: -------------------------------------------------------------------------------
ken@cbmvax.commodore.com (Ken Farinsky - CATS) (03/04/91)
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