Path: utzoo!attcan!uunet!super!udel!gatech!uflorida!haven!ames!lll-tis!lll-ncis!lll-lcc!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga.tech Subject: Re: How to deselect a gadget Message-ID: <7345@well.UUCP> Date: 11 Oct 88 06:43:55 GMT References: <3229@pt.cs.cmu.edu> <12623@oberon.USC.EDU> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Slow-Witted Weapons Experts, Ltd. Lines: 37 Quote: "Hope is very dangerous." -- Servalan In article <12623@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes: >Nope, don't do indoiscriminate RefreshGlists: the "CBM-recommended" way >to "fiddle" with gadgets is: > >1. RemoveGadget >2. fiddle with gadgets imagery, SELECTED, text, etc... >3. RefreshGadgets or RefreshGList > However, you are still screwed if you are dealing with gadgets that have only GadgetText linked to them. This is probably due to the sequence in which Intuition renders the Gadget imagery. The reason this approach works with Image gadgets is because Images are rather like bitmaps, and thus blitz over the previous imagery (highlighted or not). However, the use of an Image in a Gadget deprives you of the ability to put a Border around your gadget, unless you make it part of the image. >Also (and this is documented twice in the 1.2 Enhancer docs) these games >(especially the SLECTED toggle) can be played safely ONLY with gadget >with imagery, not with simple boolean gadgets. This is not a bug. >this is just the way things are and have been (the 1.2 Enhancer docs >is almost two years old). > This is *too* a bug (my opinion, my opinion). The fact that it has existed forever doesn't make it any less irritating. Too bad the Gadget's MutualExclude field is still unused; this problem wouldn't exist otherwise. Sigh. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU \_ -_ Recumbent Bikes: UUCP: pacbell > !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor