Author Topic: Check Box question  (Read 1678 times)

0 Members and 1 Guest are viewing this topic.

Offline jcwTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0%
  • Reputation Power: 1
  • jcw has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Check Box question
« on: July 29, 2014, 09:52:05 AM »
0
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.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Check Box question
« Reply #1 on: July 29, 2014, 11:34:06 AM »
0
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.
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: