[TRichView bug?] Problem with white font and AddPicture
Posted: Sat Jun 24, 2006 6:11 pm
Hello. I foud some problems with inserting some text AFTER i call AddPictureEx, AddHotPicture or other method.
This problem affects only TRichView working at systems Windows 98 and Windows ME. At Windows XP TRichView works fine.
Problem description: When I insert some colored text in TRichView before Picture (TGIFImage) then text is in color from ParaStyle but when I insert text AFTER picture then text always change color to white (in ParaStyle is other color for this text).
Some screenshots from the same program working on Windows 98 and Windows XP:
Windows XP (text after image):
Windows 98 (text after image):
Windows XP (text before image):
Windows 98 (text before image):
More about this error: while I select some text and image on Windows 98, text in some cases is visible in right color:
Screens from Windows 98:
I will be thankful for any help with this.
Greetings, Jacek.
Code: Select all
RichView->AddPictureEx(img, insertimg, -1, rvvaBaseline);
Problem description: When I insert some colored text in TRichView before Picture (TGIFImage) then text is in color from ParaStyle but when I insert text AFTER picture then text always change color to white (in ParaStyle is other color for this text).
Some screenshots from the same program working on Windows 98 and Windows XP:
Windows XP (text after image):
Windows 98 (text after image):
Windows XP (text before image):
Windows 98 (text before image):
More about this error: while I select some text and image on Windows 98, text in some cases is visible in right color:
Screens from Windows 98:
I will be thankful for any help with this.
Greetings, Jacek.