<!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.&nbsp; 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>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial 
color=#0000ff size=2>TAB&nbsp;or <SPAN class=762554121-05092004><FONT face=Arial 
color=#0000ff size=2>Ctrl + Arror keys </FONT></SPAN>-&gt; Highlight the 
button</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial 
color=#0000ff size=2>Arror keys -&gt; Highlight and select</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</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&nbsp;Tabstop of the radiobuttons in 
the&nbsp;group?&nbsp; Maybe onCreate try:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial 
color=#0000ff size=2><BR>&nbsp; for i:= 0 to RadioGroup1.ControlCount - 
1do<BR>&nbsp;&nbsp;&nbsp; TWinControl(RadioGroup1.Controls[i]).TabStop:= 
True;</FONT>&nbsp;</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=762554121-05092004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</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.&nbsp; A number 
of&nbsp;my&nbsp;RadioGroups default the&nbsp;ItemIndex to -1 so that none of the 
options are selected, which forces the user to make a choice.&nbsp; In this 
situation, changing focus using the&nbsp;tab key skips right over the RadioGroup 
so a blind user with a screen reader has no idea it's even there.&nbsp; It works 
fine&nbsp;if the group has a radio button selected by default.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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.&nbsp; It does 
not tell him whether an item is checked or not.&nbsp; I guess this must not be a 
standard Windows control, and is in fact a Borland creation.&nbsp; Though, I see 
Microsoft uses a similar component in the Advanced tab of the Internet Options 
dialog.&nbsp; 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.&nbsp; Any 
ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV></BODY></HTML>