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
|