Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I point to a control in my MDI Parent form?

How-to

How can I point to a control in my MDI Parent form?

by  PinoIT  Posted    (Edited  )
If (for instance) you have a logbox, a status bar a.s.o. in your MDI Parent application, to point and use it simply do this:

... in any form ...

Dim MyMDIParent = Me.MdiParent.FindForm

Now you got it... if for instance you got a log panel with a RichText... to write into simply write:

MyMDIParent.MyRichTextBox1.AppendText("This is my text from elsewhere in the application" & Chr(10))

That'all

Pino
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top