D
Dean Slindee
The code below runs in the form_paint event but changes nothing, anyone got
a better idea or why this code is not effective?
Imports System.Drawing.Drawing2D
Dim ctl As Control
Dim str As String
For Each ctl In Me.Controls
str = ctl.GetType.ToString
If str = "System.Windows.Forms.Label" Then
ctl.BackColor = System.Drawing.Color.Transparent
End If
Next
Thanks,
Dean Slindee
a better idea or why this code is not effective?
Imports System.Drawing.Drawing2D
Dim ctl As Control
Dim str As String
For Each ctl In Me.Controls
str = ctl.GetType.ToString
If str = "System.Windows.Forms.Label" Then
ctl.BackColor = System.Drawing.Color.Transparent
End If
Next
Thanks,
Dean Slindee