super/sub script - ajust

General TRichView support forum. Please post your questions here
Post Reply
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

super/sub script - ajust

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
alexandreq
Posts: 184
Joined: Wed Jan 18, 2012 6:22 pm

Post by alexandreq »

Sergey

I thank you for your help.
Post Reply