Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!tank!uwvax!astroatc!nicmad!madnix!aaron From: aaron@madnix.UUCP (Aaron Avery) Newsgroups: comp.sys.amiga.tech Subject: Re: String Gadgets Message-ID: <438@madnix.UUCP> Date: 30 Jan 89 11:40:50 GMT References: <86686@sun.uucp> <483@infohh.rmi.de> Reply-To: aaron@madnix.UUCP (Aaron Avery) Organization: ASDG Incorporated Lines: 18 In article <483@infohh.rmi.de> shimoda@infohh.rmi.de (Markus Schmidt) writes: >By the way. Does anyone have a method to make ActivateGadget more >reliable. It seems to fail in 10% of the cases. A Delay(5) after >it seems to make a little improvement, is there anything better? Well, I can only say a few things I've observed about ActivateGadget which may or may not help. I've found that it sometimes works if the window is _not_ activated when you call it, but usually doesn't. The other big one is that if you call it to activate two different gadgets in a row (like multiple events queued up to your UserPort telling you to activate multiple gadgets), only the first one will take effect. Note that theses are also possibly just guesses, as they're not confirmed to be fact. Hope that helps some. -- Aaron Avery, ASDG Inc. "A mime is a terrible thing to waste." -- Robin Williams ARPA: madnix!aaron@cs.wisc.edu {uunet|ncoast}!marque! UUCP: {harvard|rutgers|ucbvax}!uwvax!astroatc!nicmad!madnix!aaron