I am trying to modify a form created in VB by someone else. I don't have Windows Form Designer or any other visual form editing software, I am doing it in code only.
I added a GroupBox and 2 radiobuttons inside the group box, but I can't see them. If I put the drawing.point below the form, I can see them. It is as if the GroupBox is opaque and is hiding the radiobuttons. How can I fix this?
Thanks,
Jeff
I added a GroupBox and 2 radiobuttons inside the group box, but I can't see them. If I put the drawing.point below the form, I can see them. It is as if the GroupBox is opaque and is hiding the radiobuttons. How can I fix this?
Code:
groupBox5.Controls.Add(me.radioBtnNX85)
groupBox5.Controls.Add(me.radioBtnNX8)
groupBox5.Controls.Add(radioBtnNX8)
groupBox5.Controls.Add(radioBtnNX85)
groupBox5.Location = New System.Drawing.Point(40, 400)
groupBox5.Size = New System.Drawing.Size(500, 50)
groupBox5.Text = "NX VERSION"
Me.radioBtnNX8.Location = New System.Drawing.Point(45, 425)
Me.radioBtnNX8.Size = New System.Drawing.Size(250, 17)
Me.radioBtnNX8.Text = "NX 8"
Me.radioBtnNX85.Location = New System.Drawing.Point(230, 425)
Me.radioBtnNX85.Size = New System.Drawing.Size(250, 17)
Me.radioBtnNX85.Text = "NX 8.5"
me.radioBtnNX8.checked=true
Thanks,
Jeff