- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Radiogroups and focus

Question:

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?

Answer:

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.




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile