Article View: comp.sys.amiga.tech
Article #9982Re: How to deselect a gadget
From: Randell Jesup
Date: Fri, 07 Oct 1988 18:38
Date: Fri, 07 Oct 1988 18:38
27 lines
1646 bytes
1646 bytes
In article <12623@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes:
>In article <3229@pt.cs.cmu.edu> mjw@f.gp.cs.cmu.edu (Michael Witbrock) writes:
>|Thanks for all the replies:
>| The consensus is that the only way to safely have a program unselect a
>| gadget is to REMOVE the gadget, fiddle its bits, and ADD it again.
>| This is not what I'd call neat. Maybe a general ModifyGadget() in a later
>| release?
...
>1. RemoveGadget
>2. fiddle with gadgets imagery, SELECTED, text, etc...
2.5 AddGadget or AddGList it back
>3. RefreshGadgets or RefreshGList
>
>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).
Yup. There are some tricks that work to do this to non-image
gadgets, but they are not in any manner guaranteed or sanctioned, and may
well break in 1.4 (being dependant on Intuitions internal State Machine).
--
Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup
Technical Details
Message-ID:
<4962@cbmvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!cbmvax!jesupReferences:
<3229@pt.cs.cmu.edu> <12623@oberon.USC.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: How to deselect a gadget Message-ID: <4962@cbmvax.UUCP> Date: 7 Oct 88 18:38:58 GMT References: <3229@pt.cs.cmu.edu> <12623@oberon.USC.EDU> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 27