Page 1 of 1

super/sub script - ajust

Posted: Mon Jan 30, 2012 11:00 am
by alexandreq
Hello

I got an example for subscript and superscript from you

http://www.trichview.com/support/files/reditss.zip

But the superscript doesn't do what your demo with action does.

Can you fix the demo so that I can see how to add it in my code?

Thanks
Alex

Posted: Tue Jan 31, 2012 7:58 am
by Sergey Tkachenko
This is a very old demo, it was created before implementing sub/superscript in TRichView; so it simulates sub/superscript by shifting text vertically and reducing its size.

A modified demo is here: http://www.trichview.com/support/files/reditssnew.zip
It uses SubSuperScriptType property of a text style.

Posted: Tue Jan 31, 2012 10:14 am
by alexandreq
Sergey

I thank you for your help.