ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Some of format gets reset in TIERichEdit ....

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Nov 25 2019 : 07:32:55
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 28 2019 : 22:20:07
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
yogiyang Posted - Nov 27 2019 : 02:01:25
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
xequte Posted - Nov 26 2019 : 16:52:21
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