MDIParent controlling MDIChild richTextBox control

jcrcarmo

Freshman
Joined
Dec 14, 2005
Messages
32
Hi folks,

I was wondering what the code to do the following is:

MDIParent form needs to load the text of a MS Word Document into a richTextBox located in MDIChild form.

How do I accomplish that??

Thanks in advance,

JC :)
 
If you declare the richtextbox as public you can access its properties from the mdi parent, however thats perhaps not the best method. You could create a public method called LoadText as part of the mdi child, you can then call the method from the mdi parent, which will then load the text into the richtextbox.
 
Back
Top