accounting and consolidating entry - C textbox validating errorprovider

c textbox validating errorprovider-43

A is a string made up of characters from a masking language that specifies which characters can be entered at any given position in the text box. If the user types an incorrect entry, for example, the user types a letter when a digit is required, the control will automatically reject the input.

The masking language that is used by Masked Text Box is very flexible.

When you change the focus by using the keyboard (TAB, SHIFT TAB, and so on), by calling the Select or Select Next Control methods, or by setting the Container Control.

Active Control property to the current form, focus events occur in the following order: If the Causes Validation property is set to false, the Validating and Validated events are suppressed.

Invoking the Set Error method of the Error Provider control displays an error indicator image next to the control specified as the first argument to the the Set Error method.

Comments