![]() Seems like a framework update would resolve this as opposed to an OS service pack. When I go to, its prompting me to install sp3 for XP but I have opted out of installing it as I've been hearing about alot of issues still related to it. I then move the mouse away and then hover back over the error icon and it never reappears. ![]() I will mouse over the error icon, the error message is displayed for X seconds (not sure how many) and then it disappears (while the mouse is still hovering over it). Yes, I get the problem still without even clicking. I also have VS.NET 20 installed on the same machine if that could make any difference. I'm using C#, VS.NET 2008, 3.5 framework, WIndows XP pro sp2. ![]() Yes, I followed your outlined steps above and am able to reproduce the problem. For user thought, solution is easy just keep moving mouse cursor until message appears. With a DataGridView I did manange to position the mouse cursor over the error icon without the tooltip being displayed (move quickly down onto icon from above and sometimes tooltip doesn't appear). I have tried to re-create the problem on a basic Windows form and didn't encounter a problem. I assume you are using the ErrorProvider component on a Windows Form in a Windows Forms Application. Is this with Framework 3.5? Is this on a Windows XP or Vista system? Please can you provide further details of your application. Does it only appear once or intermittently? If the tooltip is not reappearing, as you say, this needs furher investigation. Clicking the icon to hide the message is not necessary the message will disappear after five seconds or when the user moves the mouse cursor away from the icon. The error message tooltip should be re-displayed each time the user positions the mouse cursor over the error icon. Xiao, what operating system are you running on and is your sytem completely up-to-date? do not wait until the ToolTip hides automatically? This would be super distracting to just about everyone.Īs has been said, the workaround posted on CodeProject (use the update to fix the icon flickering issue) does the job.įor those who want the error messages to appear longer than the default five seconds, I posted a modification to the ErrorProviderFixed classes on CodeProject that allows you to do this through an additional AutoPopDelay property (a nod to NoBugz).Ĭhris, in the test app outline above, do you get the problem if once the ToolTip is displayed you immediately move the mouse cursor away from the icon and then move back onto it, i.e. I personally have given in and allow Windows Update to install all but optional updates and have only had a positive experience to date.īack on issue, setting BlinkStyle to AlwaysBlink is not a workaround. There are ways to solve it, but I prefer my solution because it is clear.I understand your reluctance to install xp sp3. The reason being the validating is triggered when a control loses focus. I have seen a lot of people in these groups whith problems that they cannot cancel their dialog because there validating is triggered. If there is a cancel button the mess begins. I know you can use the validating event attached to individual controls but I don't do it like that. In LoginForm_FormClosing is crucial, because if the user presses cancel you don't want to check anything. WachtwoordonthoudenCheckBox.Checked) this. Private void LoginForm_FormClosed( object sender, FormClosedEventArgs e) WachtwoordTextBox, "Het wachtwoord is ongeldig!" ) WachtwoordTextBox.Text)ĮrrorProvider.SetError( this. UsernameTextBox, "onbekende gebruikersnaam!" ) UsernameTextBox.Text) ĮrrorProvider.SetError( this. PhoneUsersDataTable table = phoneUsersTableAdapter.GetData() Private void LoginForm_FormClosing( object sender, FormClosingEventArgs e)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |