Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!tektronix!uunet!nuchat!peter From: peter@nuchat.UUCP (Peter da Silva) Newsgroups: comp.sys.amiga Subject: Re: Q: Changing String Gadgets Summary: Here's how I do it in my file requestor. Message-ID: <862@nuchat.UUCP> Date: 27 Mar 88 14:42:16 GMT References: <24437@aspvax.UUCP> Organization: Public Access - Houston, Tx Lines: 14 Well, I actually don't bother keeping the gadget in the same place, and I just do a refreshgadgets because I don't want to fry under 1.1, but here is a guaranteed safe way to modify a string gadget: g = RemoveGadget(winptr, gadget); ... /* diddle with the gadget */ ... AddGadget(winptr, gadget, g); RefreshGList(gadget, winptr, NULL, 1); -- -- a clone of Peter (have you hugged your wolf today) da Silva `-_-' -- normally ...!hoptoad!academ!uhnix1!sugar!peter U -- Disclaimer: These aren't mere opinions... these are *values*.