invalidate textbox

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,
 
W

William Dauchy

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top