I just created a little C# window application with one richtextbox and a button. In the Click eventhandler for the button I coded MessageBox.Show(richTextBox1.Text). I entered some text into the RichTextBox during runtime.
A messagebox pops up with the text of the richtextbox, just like it should when I click the button. So there is something else going wrong in your application (or in the framework, or on your pc etc. etc.). Maybe you also should try to create a new test application with just one richtextbox and a button and see what happens.
Regards,
Paul |