mza1979m
Newcomer
In VB.NET, what is the syntax for checking the forecolor of a certain control? For instance, I want to check if the forecolor of my GroupBox control is Red, and if so, perform a certain action. I tried the following, but no luck:
If grpTextAttributes.ForeColor = System.Drawing.Color.Red Then
' Block of code here
End If
If grpTextAttributes.ForeColor = System.Drawing.Color.Red Then
' Block of code here
End If