Hello,
It is not really a question, just what I have experienced. I just want to know if it is the "normal working" or if it is a bug...
Say you have a TextBox and an associated ErrorProvider.
Listen to the Validating event to show an error.
and do something as
If you set the BlinkStyle of the ErrorProvider to NeverBlink, the same error will always be shown. (everything is normal with AlwaysBlink or BlinkIfDifferentErrors)
I use that style because I don't like softs looking like "fireworks", but I would like to have my errors updated.
It is not really a question, just what I have experienced. I just want to know if it is the "normal working" or if it is a bug...
Say you have a TextBox and an associated ErrorProvider.
Listen to the Validating event to show an error.
and do something as
Visual Basic:
private counter as Integer
private sub Validation(sender as object, e as cancelEventArgs) handles mytxtBox.Validating
counter += 1
if counter mod 2 = 0 then
ErrorProvider1.SetError(mytxtBox, "Error1")
else
ErrorProvider1.SetError(mytxtBox, "Error2")
end sub
If you set the BlinkStyle of the ErrorProvider to NeverBlink, the same error will always be shown. (everything is normal with AlwaysBlink or BlinkIfDifferentErrors)
I use that style because I don't like softs looking like "fireworks", but I would like to have my errors updated.