Making a ReAction gadget inactive
Making a ReAction gadget inactive
How can I make a gadget inactive? I.e. it won't react to user input, grayed out, stipple pattern, etc. It's probably not the correct term for it, because I couldn't find anything related to it in the autodocs
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Making a ReAction gadget inactive
I think the attribute you want is "GA_Disabled". It may vary from one gadget to another, so check the docs for every gadget you want to use it on.
cheers
tony
tony
Re: Making a ReAction gadget inactive
Thanks, GA_Disabled was exactly what I was looking for. For some reason I got it mixed up with GA_Selected for checkboxes