[RESOLVED] how to update the form text in real time?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: [RESOLVED] how to update the form text in real time?

  1. #1
    Join Date
    Feb 2004
    Posts
    218

    [RESOLVED] how to update the form text in real time?

    Dear All,

    I have one Form in which has two textboxes, when the value of one textbox is changed, the other one also been changed immediately.how can I do that?
    Thanks.

  2. #2
    Join Date
    Dec 2008
    Posts
    144

    Re: how to update the form text in real time?

    Not really sure why you would want to do this in real time, but it can definately be done, but I'm going to be a little circumspect in my answer as this smells like a homework problem to me for some reason.

    If you look at the events for a textbox there is a TextChanged event that fires every time the text value is changed. How could you leverage that to do what you want? Try a few things out and if you can't get it, let us know.

  3. #3
    Join Date
    Feb 2004
    Posts
    218

    Re: how to update the form text in real time?

    Thanks, I will try, ha....that is really not a homework. I just have interested to think about that.

    Thanks, I have done it.
    Last edited by lwong; March 3rd, 2011 at 10:40 AM.

  4. #4
    Join Date
    Dec 2008
    Posts
    144

    Re: how to update the form text in real time?

    Okay, great- glad to hear you were able to figure it out. If your issue is resolved could you mark this thread as resolved by clicking Thread Tools near the top of the page and Mark Thread Resolved?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center