ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Some of format gets reset in TIERichEdit ....
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yogiyang

India
559 Posts

Posted - Nov 25 2019 :  07:32:55  Show Profile  Reply
Hello,

If we assign text to the RTFText property of TIERichEdit control programmatically I observed that some of the formatting like font size is getting reset.

For example I have following RTF string:
 
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;}}{\colortbl ;\red255\green255\blue0;}\viewkind4\uc1\pard\cf1\lang1033\f0\fs400 Sample Text\par}


which when assigned to the RTFText property gets reset to:
 
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;}}{\colortbl ;\red255\green255\blue0;}\viewkind4\uc1\pard\cf1\lang1033\f0\fs24 Sample Text\par}


TIA


Yogi Yang

xequte

4888 Posts

Posted - Nov 26 2019 :  16:52:21  Show Profile  Reply
Hi Yogi

That's the internal rich edit functionality, so you'll need to take that up with Microsoft

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
559 Posts

Posted - Nov 27 2019 :  02:01:25  Show Profile  Reply
Hello Nigel,

 
That's the internal rich edit functionality, so you'll need to take that up with Microsoft

Sorry I did not get it.

This happens only when we assign the RTF text in form creation event.

But if I past the RTF text in the memo for RTF and then click the related Update Text button things work fine.

So I feel the problem is at Rich Edit end.

TIA


Yogi Yang
Go to Top of Page

xequte

4888 Posts

Posted - Nov 28 2019 :  22:20:07  Show Profile  Reply
Hi Yogi

Can you show me the exact code to reproduce the issue, or email me a simple demo.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: