• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

invalidate textbox

W

William Dauchy

#1
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,

--
William
 

My Computer

W

William Dauchy

#2
On Aug 5, 4:29 pm, William Dauchy <wdau...@xxxxxx> wrote:

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

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)