ErrorProvider blinking ???

G

Guest

The ErrorProvider text is also blinking together with the icon.
It’s making the reading of the error description very uncomfortable.

Is there a way to prevent the text from blinking while the icon is still
blinking?
 
M

Mohamoss

Hi Sharon
You can just use
this.errorProvider1.SetError(this.button1 , "my error message");
this way you can just make the icon blink and the error message appear as a
tool tip when you point with the mouse on the icon

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
G

Guest

This is exactly what I was doing, but it made both the icon and the text
blink together.

But, you made me look it some more and I found that if I set the blinking
style to:

myErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;

It’s causing the text and the icon blink for ever, but if I set it to:

myErrorProvider.BlinkStyle =
System.Windows.Forms.ErrorBlinkStyle.BlinkIfDifferentError;

The text and the icon is again blinking together, bur they stops blinking
when the mouse is hovering over them.
So I changed the setting to the last one as shown above.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top