TextBox.SelectAll not active in TextChanged event

0
0

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.

  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.