ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: jcw on July 29, 2014, 09:52:05 AM

Title: Check Box question
Post by: jcw on July 29, 2014, 09:52:05 AM
Is there any way to make a check box work like radio buttons? The only option that I have been able to make work (using yes/no) if cbYes is #true remake cbNo to #false. I was just wondering if there was a better way of doing that.
Title: Re: Check Box question
Post by: TrailMyx on July 29, 2014, 11:34:06 AM
You can do that, but you need to do the work yourself.  What I do is to assign a state variable to each control, and then run through a loop that checks the state of each control and flips them accordingly.  It's annoying, but possible.