Fire the event Textchanged only by text input user

Hello,

When I set a text in a text field by software with info from a database access read (not for user input text) then the textchanged event is also fired.

This issue generate a lot of problems for the programmer because is not easy to can detect when the changedtext event is fired for the user or for the software.

@ewpatton is possible to solve this issue whith two dfifferent events (one for users action and other for app actions) or only firing the changedtext event for user input text?

Thks
Ferran

Handle this in the textChanged event, by setting a boolean variable when your app adds text to the textbox, then reset the boolean in the textChanged event.

I do this as you say. I asked it for not to do this workaround.

The method suggested makes it easy to detect "who" fires the textChanged event without another textChanged block.

Edit. And if you have several texts fields you need a diferent several boolean switches.

.

Off course.

This issue happens not only with the Text Fields. In other components (as switch, checks,...) happens the same problem. Is not possible knows if the event is user event or internal app event.

Thus it makes more sense for the developer to set variables accordingly