Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Validate event of textbox does not trigger when leaving control #1962

@BennyFloden

Description

@BennyFloden

Describe the bug
If you create a validate event procedure, it is not triggered when leaving the control. It triggers when you go back to the control.

To Reproduce
Steps to reproduce the behavior:

  1. Create a form with one text box and another control
  2. Create a validate function with just a msbox
  3. Type something in the textbox
  4. Go to the other control (tab, mouse)
  5. Nothing happens
  6. Go back to original text box
  7. Validate function fires

Expected behavior
Validate should happen on change of control or when we leave control

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions