<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2>Radiobuttons and radiogroups are a pain - besides some
painting issues the tabbing/selection is also wrong. The standard
behaviour should be:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2>TAB or <SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2>Ctrl + Arror keys </FONT></SPAN>-> Highlight the
button</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2>Arror keys -> Highlight and select</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2>anyway, that doesn't really help much with your problem..
have you tried setting the Tabstop of the radiobuttons in
the group? Maybe onCreate try:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2><BR> for i:= 0 to RadioGroup1.ControlCount -
1do<BR> TWinControl(RadioGroup1.Controls[i]).TabStop:=
True;</FONT> </SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Ross
Levis<BR><B>Sent:</B> Sunday, 5 September 2004 8:35 p.m.<BR><B>To:</B> NZ
Borland Developers Group - Delphi List<BR><B>Subject:</B> [DUG] RadioGroups
TabStop<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>I've had a complaint from a blind user regarding
the default behaviour of forms containing a TRadioGroup. A number
of my RadioGroups default the ItemIndex to -1 so that none of the
options are selected, which forces the user to make a choice. In this
situation, changing focus using the tab key skips right over the RadioGroup
so a blind user with a screen reader has no idea it's even there. It works
fine if the group has a radio button selected by default.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I know one option is to make one of the buttons the
default, but in one particular case, I use a radio group to make a selection
which displays some other information from data files, and I would not want to
default any of these buttons as it would waste time.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone know a way to change this tabbing/focus
behaviour?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On a similar subject, the same blind user said his
screen reader cannot read the state of items in a TCheckBoxList. It does
not tell him whether an item is checked or not. I guess this must not be a
standard Windows control, and is in fact a Borland creation. Though, I see
Microsoft uses a similar component in the Advanced tab of the Internet Options
dialog. It would not look good to display the hundred or so checkboxes
separately on the form so I'm not sure of a solution to this either. Any
ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV></BODY></HTML>