Jump to content

Disable InputBox when RadioButton Checked


Go to solution Solved by JohnOne,

Recommended Posts

Posted

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.

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...