Z
Zim Babwe
I am using the following to see if an error exists on any of my controls on
my Windows Form (VS 2005)
' Check to see if errors exist
'
For Each ctrl As Control In Me.Controls
If ErrorProvider1.GetError(ctrl) <> "" Then
invalidInput = True
End If
Next
I have three group controls on my form and in each group control, there are
4 textboxes. The above code checks the group control but bypasses the
textboxes.
How can I include the textboxes?
Thanks in advance
my Windows Form (VS 2005)
' Check to see if errors exist
'
For Each ctrl As Control In Me.Controls
If ErrorProvider1.GetError(ctrl) <> "" Then
invalidInput = True
End If
Next
I have three group controls on my form and in each group control, there are
4 textboxes. The above code checks the group control but bypasses the
textboxes.
How can I include the textboxes?
Thanks in advance