When I am Using general concatenation Its Not Working.
I Am Doing Like This
RTFTEXTBOX.RTF+= "Some Text";
Its Not Working
But When I Am Doing Like
RTFTEXTBOX.TEXT+= "Some Text"; It's Working ,But But In This Case It Is Not Taking RTF
Feature.
If Any One Have Idea Regarding This Please Let Me know.
Best Regards
Shivendra
Andrzej WegierskiPosted Jul 26, 2005, 2:45 AM
1. Add/insert the text using Text property
2. Select it using Select method
3. Set format for selected text using SelectionColor property for instance
4. Reset selection and format
ValentinPosted Jul 25, 2005, 10:05 AM
Well, the "Text" poperty helps you access and modify the text in your RichTextBox.
I don't see what is it that you want to do with richTextBox.Rtf ?
The "Rtf" is for rich formated text :) not for pure text.
Maybe this will help :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsRichTextBoxClassTopic.asp