🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13004

Re: Refreshing Gadgets

#13004
From: asaph
Date: Mon, 05 Jun 1989 12:23
31 lines
1883 bytes
In article <16390@gryphon.COM> collins@pnet02.cts.com (Steven Collins) writes:
>When I try to refresh my list of gadgets using RefreshGList,
>any boolean gadgets that are currently selected (and therefore highlighted...)
>are complemented and therefore seem to change state. I would like to

This same thing happened to me, and I could find no work-around. I ended up
using the feature/bug to do mutual-exclusion :
    RefreshGadgets  turns off highlighted boolean GADGHCOMP gadgets
    SetNewStates    more on this follows
    RefreshGadgets  turns on only newly set gadgets

As for set-new-states : the documented method (Remove, play around, Add) worked
only on Gadgets in windows, It gurued for those in requesters. The only way
I found to play with these gadgets was to change their Selected bits directly
without removing them. Since I didn't know how safe this was I surrounded that
bit with Forbid/Permit. - Icky!

Comments & Constructive critisism welcomed.

>be able to have my program change the state (and text) of these
>gadgets and then display their current state correctly. How does one
>do this?
>                              Thanks, Steve Collins
>                              backbone!gryphon!pnet02
>
>UUCP: {ames!elroy, <backbone>}!gryphon!pnet02!collins
>INET: collins@pnet02.cts.com

                                Asaph.
asaph@taurus.bitnet
asaph@math.tau.ac.il
Technical Details
Message-ID: <1026@taurus.BITNET>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!TAURUS.BITNET!asaph
References: <16390@gryphon.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!TAURUS.BITNET!asaph
From: asaph@TAURUS.BITNET
Newsgroups: comp.sys.amiga.tech
Subject: Re: Refreshing Gadgets
Message-ID: <1026@taurus.BITNET>
Date: 5 Jun 89 12:23:39 GMT
References: <16390@gryphon.COM>
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: asaph%math.tau.ac.il@CUNYVM.CUNY.EDU (Zemach Asaph)
Organization: Tel-Aviv Univesity Math and CS school, Israel
Lines: 31