What im trying to do is have a custom even on a text box control so when the Boolean on the control is set to false it fires off this event:
Public Property isError As Boolean = False
Public Event IsInError As EventHandler
Private Sub textInError() Handles Me.IsInError
If isError = False Then
Me.BackColor = isErrorColor
End If
End Sub
ive never really used event handlers before so im not very familiar with them so i could well be on the wrong path here
Thanks
Yes, you are on the wrong track with this. Listening to your own events is always a strong indication that you are getting it wrong. You want to write a property setter instead. Like this: