Who can help me with the following
For Each Con As Control In GroupBox1.Controls
If Con.GetType Is GetType(Button) Then
Con.BackColor = SystemColors.Control
Con.UseVisualStyleBackColor = True
End If
Next
Can someone help me to fix it with
Con.UseVisualStyleBackColor = True
or do i have to do the for all buttons separate
like Me.Button1.UseVisualStyleBackColor = True
Me.Button2.UseVisualStyleBackColor = True
i have 32 buttons in groupbox
thanks in advice John