[comp.sys.amiga.tech] Gadget help

gad@linac.fnal.gov (Greg A. Deuerling) (12/26/90)

 Hello,  I was hoping someone on the net could help me.  I'm just 
starting to write programs in C that use Intuition.  I'm writing a 
Preference style  program to configure a hardware project I am working 
on.  I am having problems understanding why something is happening.  I 
have two BOOL gadgets and one INT STRING gadget.  The BOOL gadgets 
increment & decrement the  STRING gadget.  I have that working fine.  
The problem is when I go to refresh the STRING gadget.  The STRING 
gadget refreshes ok,  but sometimes the BOOL gadget I hit never turns 
off.  I can hit it a few more times and it will go back to normal 
then.  Does any one know what I am doing wrong ??? I would post the 
program but it is kinda long.  If there is any one I can EMAIL the 
source code to out there I would be very much in debt.  The compiler I 
use is SAS C Compiler.

 						Thanks.

						gad.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=	     Greg Deuerling, Fermi National Accelerator Laboratory	      =
=	   P.O.Box 500   MS#127  Batavia, Il  60510   1(708)840-4629          =
= 			    Computer R&D Group				      =
=		            gad@linac.fnal.gov				      =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=