[program-l] Re: vs 2008 - adding radio buttons to a groupbox

  • From: "David Lant" <david.lant1@xxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 5 Oct 2009 20:17:15 +0100

Hi,

Yes, you can add controls to any container using the form designer.  A group
box is just a type of container, like the form itself.  So to add radio
buttons to the group box, tab in the form designer until the group box is
selected, and then pull up the toolbox and drop the radio buttons.  They
will be dropped inside the group box.

As for JAWS getting the order of the radio buttons wrong, well... that's a
JAWS thing.  You just have to play with the various properties of the
controls until you get the desired result.  But if sometimes JAWS gets it
wrong, then I'm afraid you're stuck with it.  It's certainly not a problem
with Visual Studio.

All the best,

David

-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Sérgio Neves
Sent: 05 October 2009 00:25
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] vs 2008 - adding radio buttons to a groupbox

Hi,

I've put a groupbox and three radio buttons on a form.

Is it possible to add the radio buttons to the group box using the form 
designer, or I have to go to code and write:

this.buttonTypeGroupBox.Controls.Add(this.okButton); ?

I don't find the controls property on the property page of groupbox.

Another doubt: the button1, button2 and button3 radio buttons have their 
tabindex properties set to 0, 1 and 2, but Jaws screen reader announces 
"button1 radio button checked three of three" instead of "button1 radio 
button checked one of three". Why does it happen? If I reverse the 
tabindexes I think it announces correctly in ascending order from top to 
buttom, but I don't understand the logic.



Thanks.

Best regards,

Sérgio Neves

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: