Xref: utzoo comp.sys.amiga:67738 comp.sys.amiga.tech:14835 Path: utzoo!attcan!uunet!nih-csl!lhc!mimsy!haven!udel!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!murdu!ucsvc.ucs.unimelb.edu.au!wehi!baxter_a From: BAXTER_A@wehi.dn.mu.oz Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: HELP (problems with Scary Gadgets!) Message-ID: <13780@wehi.dn.mu.oz> Date: 3 Oct 90 18:42:01 GMT References: Organization: Walter & Eliza Hall Institute Lines: 26 In article , dave@aquarium.buffalo.ny.us (David R. Tyler) writes: > sorry for the play on words, but this gadget thing is driving me nuts! > > I am defining a screen full of BOOL gadgets, with Intuitext as the > main component and a double border, (one border structure chains into > another), to allow me to make a "3Dish" effect. > > My problem is, i want most of these gadgets to be disabled or "GHOSTED" > until one of 2 gadgets is selected (that is, i want them disabled until > the user decides what he wants to do). > > I have been setting the Gadget.Flags field to GADGDISABLED (when Created) and then > testing for those 2 gadgets (above), when they are selected, it was supposed > to UNGHOST all of them, (via OnGadget, and then a RefreshGList)... > > the wierd thing is, only the BORDERS UNGHOSTED! The Text stayed Ghosted, > and you could select any of the gadgets (atleast that much worked!) > > My Need is, HOW do i get this darn thing to UNGHOST the TEXT!? What I did was pretty bodgy, but I never heard of better: Before refreshing the gadgets, draw an area filled rectangle the size of the gadget in background colour, then refresh. This removes the residual screen hash from ghosting. Regards Alan