How do I create rich text formating buttons like centering text and making it bold/italic/underlined, also changing the font, font size and font colour Please help.
Basicly, what you will be doing is creating an extended RichTextBox control with printing features. If you follow the instructions exactly as stated, it will work. I have used this code and it works quite well. Hope this helps.
Rich Text Formatting Help
radioman
Hari M
10kap
Thanks, I have been looking forever for that!!!
I did find a couple of errors in this though:
I wanted to point that out so it could either get fixed, or it might help out others.
Thanks for your help again!
Rober
Yes, I had forgotten about the errors. But, all in all, it is a pretty nice extended control.
Glad I could help.
james
aka:Trucker
Albino
With
Fontdlg.
ShowDialog() ' Apply the settings in the ' Font Dialog Box to the selected text rtfCode.SelectionColor = .Color rtfCode.SelectionFont = .Font End WithMyRTF.SelectionAlignment = HorizontalAlignment.Center
Tom Sharpless
Follow this link and follow the instructions there.
http://support.microsoft.com/default.aspx scid=kb;en-us;811401
Basicly, what you will be doing is creating an extended RichTextBox control with printing features. If you follow the instructions exactly as stated, it will work. I have used this code and it works quite well. Hope this helps.
james
aka:Trucker