VB.NET default radio button selected inside a group box

前端 未结 8 1497
轻奢々
轻奢々 2021-01-16 05:54

I have a WinForms application (VS 2008, .NET 3.5) that has a form with two different group boxes, and inside of each group box are different sets of radio buttons. When I r

相关标签:
8条回答
  • 2021-01-16 06:41

    If your lowest Tab Index is a Radio Button, and you have AutoCheck set to True, then when the form loads and sets the active element to the lowest Tab Index, it acts as if you had clicked on the Radio Button, tripping the AutoCheck and therefore checking the Radio Button. Simply give another control on the form the Tab Index of 0.

    0 讨论(0)
  • 2021-01-16 06:43

    Just change the groupbox accessible role property from default to none It will work ☺️

    0 讨论(0)
提交回复
热议问题