DotNet Visual Basic: Yet another question :) **Resolved**

  • anjari / 104 / Fri, 27 Mar 2009 21:47:00 GMT / Comments (4)
  • Sorry guys I'm too broke to buy a book ;)
    Ok,
    On my child form how do i update information on another form:
    For example:
    I have a status bar on a main form. When someone enters a textbox I want to update statusbarpanel1...?
    any help?
    Anjari
  • Keywords:

    resolved, dotnet, visual basic, vb, .net

  • http://dotnet.itags.org/dotnet-visual-basic/173/«« Last Thread - Next Thread »»
    1. Is this what you mean?

      me.parentform.statusbarpanel1......

      athley | Tues, 04 Dec 2007 15:48:00 GMT |

    2. Still wont let me access the StatusBarPanel1 from the child form..

      Anjari

      anjari | Tues, 04 Dec 2007 15:49:00 GMT |

    3. You gotta let .NET know that it is the Mainform you want to get to. Something like this...

      Dim frm As Main
      frm = Me.ParentForm
      frm.sbMain.Text = "Test"

      athley | Tues, 04 Dec 2007 15:50:00 GMT |

    4. Thanks!

      anjari | Tues, 04 Dec 2007 15:51:00 GMT |