RichTextBox partially bold ( red not necessary )

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

RichTextBox partially bold ( red not necessary )

Post by Czarny_Pijar »

RichEdit properties such as FontBold and FontItalic takes the content as a whole. How to get the more detailed look?
Attachments
RichTextBox.PNG
RichTextBox.PNG (3.89 KiB) Viewed 1927 times
test_richtextbox.zip
(1.38 KiB) Downloaded 192 times
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: RichTextBox partially bold ( red not necessary )

Post by esgici »

Czarny_Pijar wrote:RichEdit properties such as FontBold and FontItalic takes the content as a whole. How to get the more detailed look?
Hi Czarny

Please look at slightly modified version of your project:
testRTF.zip
Farmatted .rtf text
(21.16 KiB) Downloaded 473 times
This topic also may be useful for your need.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: RichTextBox partially bold ( red not necessary )

Post by Czarny_Pijar »

Thank you esgici fo your code, I never ran into it. I see now I have to dive into the quirks of the RTF format :) 278 pages ;)
Post Reply