Windows Vista Forums

invalidate textbox

  1. #1


    William Dauchy Guest

    invalidate textbox

    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 System SpecsSystem Spec

  2. #2


    William Dauchy Guest

    Re: invalidate textbox

    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 System SpecsSystem Spec


invalidate textbox
Similar Threads
Thread Forum
split textbox VB Script
Masked TextBox Avalon
Textbox AutoSize? Avalon
will motherboard repair invalidate Vista Ultimate? Vista General
.NET2 TextBox & DWM Aero