Page 1 of 1

Making a ReAction gadget inactive

Posted: Tue Oct 13, 2015 11:09 am
by BSzili
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 :oops:

Re: Making a ReAction gadget inactive

Posted: Tue Oct 13, 2015 12:19 pm
by tonyw
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.

Re: Making a ReAction gadget inactive

Posted: Tue Oct 13, 2015 1:30 pm
by BSzili
Thanks, GA_Disabled was exactly what I was looking for. For some reason I got it mixed up with GA_Selected for checkboxes :)