Hi Wisej,
In Winform: TextBox.SelectAll in TextChanged event is done
In Wisej: TextBox.SelectAll in TextChanged event is not done
How to use TextBox.SelectAll in TextChanged event?
Thank you.
Hi Huynh,
you can use a ClientEvent to achieve this.
Please add the following to your TextBox.ClientEvent on e.g. KeyUp:
if (this.getValue().toUpperCase() == "HELLO") this.selectAllText();
Find more information here:
https://wisej.com/support/question/textbox-selectionlength-attribute-always-0
Best regards
Frank
Please login first to submit.