Making a ReAction gadget inactive

This forum is for general developer support questions.
Post Reply
BSzili
Posts: 6
Joined: Mon Nov 18, 2013 7:51 pm

Making a ReAction gadget inactive

Post 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:
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1479
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Making a ReAction gadget inactive

Post 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.
cheers
tony
BSzili
Posts: 6
Joined: Mon Nov 18, 2013 7:51 pm

Re: Making a ReAction gadget inactive

Post 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 :)
Post Reply