Jump to content
Sign in to follow this  
Eambo

Disable InputBox when RadioButton Checked

Recommended Posts

Eambo

Hey guys,

This may be really simple and I'm just reading it wrong. Basically let's say I have the following:

$Radio1

$Radio2

$InputBox

When I click $Radio2, I want $InputBox to Active, and when $Radio1 is clicked, I want $InputBox to grey out. I'd prefer to do it without calling funtions if possible, although it may not be. What's the cleanest/shortest (coding wise) way of doing it? I can think of  few ways but they're convoluted and messy :-(

Thanks for your help, guys.

Share this post


Link to post
Share on other sites
Eambo

Beautiful John, thank you! I don't know how I missed that one, in my head I was using GUICtrlSetOnEvent, which would've been a messier way of doing it.

Thanks for the guidance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×