Skip to content

TextBox Validating Event #182

Description

@itg-assistant

Cris asked 2016-07-26 13:18:29 UTC

Hi,

When a TextBox has invalid data, Validating event still allows the cursor to jump to the next available control and just returns back to control being validated event if the e.Cancel = true. In WinForm, the cursor stays at the control until it passes the validation logic.

Another observation that needs patience. Run the attached sample. Click on "Full Name" textbox but don't enter anything -> Click "City" textbox for several times (don't know how many) in quick succession. Once you get your luck, you will be able to enter data in City textbox even if  FullName hasn't passed the validation yet.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions