invalidate textbox

  • Thread starter Thread starter William Dauchy
  • Start date Start date
W

William Dauchy

Hello,

I have a button which put a value in a variable when a click happened.
This variable is part of data binding, and is connected to a textbox.
In the method which receive the click button I finished by calling the
invalidate method of the textbox.
But nothing happens (I mean, the textbox isnt update) until I click on
another radio button somewhere in the UI.
What should I do to update the textbox immediately?

I also tried with refresh and update method.

Regards,
 
I have a button which put a value in a variable when a click happened.
This variable is part of data binding, and is connected to a textbox.
In the method which receive the click button I finished by calling the
invalidate method of the textbox.
But nothing happens (I mean, the textbox isnt update) until I click on
another radio button somewhere in the UI.
What should I do to update the textbox immediately?

I also tried with refresh and update method.

I finally found the method ResetBindings(false).
It works fine now.

Regards,
 
Back
Top