Главная страница | назад

Article #16715: Radiogroups and focus

 Question and Answer Database

FAQ1715D.txt   Radiogroups and focus
Category   :VCL
Platform    :All
Product    :All 32 bit  

When tabbing through the controls on a form, a radio group 
requires two tab keystrokes if an item is selected, but only 
one if no item is selected. Since two tab keystrokes are 
required in this case one of the tab keystrokes gives no 
visual indication that the focused control is the RadioGroup. 
Is there any way to make the behavior more consistent?

Setting the TabStop property of the RadioGroup to false should
correct the problem, yet still allow the tab key to function, 
so long as one item is selected in the RadioGroup.

7/16/98 4:31:28 PM

Last Modified: 01-SEP-99