VB.NET default radio button selected inside a group box

前端 未结 8 1506
轻奢々
轻奢々 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.

提交回复
热议问题