Making a ReAction gadget inactive

This forum is for general developer support questions.

Making a ReAction gadget inactive

Postby BSzili » Tue Oct 13, 2015 12:09 pm

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

Re: Making a ReAction gadget inactive

Postby tonyw » Tue Oct 13, 2015 1:19 pm

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

Re: Making a ReAction gadget inactive

Postby BSzili » Tue Oct 13, 2015 2:30 pm

Thanks, GA_Disabled was exactly what I was looking for. For some reason I got it mixed up with GA_Selected for checkboxes :)
BSzili
 
Posts: 6
Joined: Mon Nov 18, 2013 8:51 pm


Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 6 guests