Disabling a 'Group' of OptionButtons

J

JimP

To All,

I Have 2 checkboxes ... and 4 Optionbuttons.
2 of the option buttons are in 1 group and the other 2 in another
group.

If CheckBox 1 is checked, then OptionButton - Group1 is eligible to
have 1 of its 2 optionbuttons selected ...
or
If CheckBox 2 is checked, then OptionButton - Group2 is eligible to
have 1 of its 2 optionbuttons selected ...

What I'm trying to do is:
If CheckBox 1 is checked, I want to disable Optionbutton - GROUP2?
or
If CheckBox 2 is checked, I want to disable Optionbutton - GROUP1?

Any help would be greatly appreciated.

Jim Pellechi
 
V

Vasant Nanavati

If you are using Frames to group the OptionButtons, if you disable a Frame,
the OptionButtons it contains will be effectively disabled (although they
will not *look* disabled). Or perhaps I have misunderstood your question.
 
J

JimP

Vasant,

Thanks for replying ...

I Have 2 checkboxes: CHECKBOX1 and CHECKBOX2 ... Representing a
performance for that day: 'MATINEE' vs.'EVENING' performance

I Have 2 optionbuttons - Representing "2PM" and "3PM" Performance
start times.
I Have 2 optionbuttons - Representing "7PM" and "8PM" Performance
start times.
each in their own group

If CheckBox1 is checked, then OptionButton - Group1 is 'eligible' to
have 1 of its 2 optionbuttons Checked/Selected ...

If CheckBox2 is checked, then OptionButton - Group2 is eligible to
have 1 of its 2 optionbuttons Checked/Selected ...

After the USER selects CHECKBOX1: I need to disable Optionbutton -
GROUP2
so the USER can't select an EVENING performance start time - since the
USER clearly indicated by CHECKBOX1 that they want to attend a MATINEE
performance which is ONLY held at 2pm or 3pm.

LIKEWISE,

If the USER selects CHECKBOX2: I need to disable Optionbutton -
GROUP1
so the USER can't select an MATINEE performance start time - since the
USER clearly indicated by CHECKBOX2 that they want to attend an
EVENING performance which is ONLY held at 7pm or 8pm.

Any help would be greatly appreciated.

Jim Pellechi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top