You can of course subscribe to the events yourself though, and use some kind of flags to track the sequence of the events being raised.
Whether that would actually address your issue is not at all clear though. You are saying that simply _examining_ the state of your controls is changing the state. Of course, you didn't post actual code, so it's impossible to say what's actually happening or how to fix it.
How can I make it when the datagridview value cell value is selected and then the error message display and the cursor is focused in to the same cell. thnxxxxxx I must agree with you on how the Validation events operate.
I also do not like that the user must begin to move away from the control before validation occurs.
In case of a decimal number, it will be from 0 to 9 and the dot (.), but can only be pressed once.
Also, I've added a way to add and remove rows from a Data Grid View.Hi if i derive a reference to a control on a winform (ie Control active Control = somecontrol on the form) how can i test if that control has a validating or validated event and more importantly how can i tell that those events have finished so that i can test for a new situation.My problem is i am modding some existing code, were the TAB key keypress is captured by a external c# module. This means that as a programmer, you have the power to supply the exact pattern for the input you desire in any text input field. Again, certain special characters are obviously not allowed. They make use of a pattern matching system to match the input with a certain pattern of data.this module does this if (keypress) get current active control if keypress == tab move to next control if (current activecontrol == get current active control) set focus to main Form.This last condition check is causing problems for me because i have added validating and errorprovider events to text boxes on the form, and when a validating error occurs the last conditional check, which of course is checking to see if the control is now a new control, fires and somehow changing the focus while the error provider is active, locks me out of being able to click on anything on the form.This article explained about the XML document, XSD schema, and how to validate XML document against XSD schema using Microsoft . Hi there, I have a question regarding datagridview in C#. Minimum Date Time; This is to ensure the limits are OK before the value is set and prevents an Argument Out Of Range error.Whether they are actually _doing_ anything depends on the control and how it's used.There's no way for your code to find that out though, as the event is a private field and not subject to inspection by your own code.