Skip to content

[Bug]: KryptonTextBox Validate / Validating / KeyUp events are invoked twice #666

@overlinejota

Description

@overlinejota

A simple form with a KrytonTextBox and a button.
The next code wave twice when KryptoTextbox1 loses focus:

namespace AppForm{
    public partial class Form1 : Krypton.Toolkit.KryptonForm{
        public Form1() {
            InitializeComponent();
        }            
        private void kryptonTextBox1_Validated(object sender, EventArgs e) {
            MessageBox.Show("Error","Hello");
        }
    }
}

private void InitializeComponent() {
	...
	this.kryptonTextBox1.Validated += new System.EventHandler(this.kryptonTextBox1_Validated);
	...
}

Thanks;

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedThis issue has been fixed.🪲 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions