Skip to content

TextChanged of TextBox not fired until lost focus #533

Description

@itg-assistant

Ser Gar asked 2017-01-11 21:54:06 UTC

Please advice

TextChanged of TextBox not fired until lost focus (i have only one event suscribed: TextChanged), sample code:

private void txt_TextChanged(object sender, EventArgs e)
{
if (!string.IsNullOrWhiteSpace(txt.Text))
{
btnFind.Enabled = true;
}
else
{
btnFind.Enabled = false;
}
}

But works if I suscribe a second event KeyPress (TextChanged event fired after KeyPress)

private void txt_KeyPress(object sender, KeyPressEventArgs e)
{

}

Please advice

Thanks in advance!

Using Wisej 1.3.17

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