Click to See Complete Forum and Search --> : Superscript / Subscript
vijaypathak
August 21st, 2001, 07:51 AM
I am using a RichText Box in a form. I wan't the user to have an option or menu from where he can select some portion of the text in the RichText Box and set it style to SuperScript and some portion to the SubScript Style.
Is there any way to do this
Thanks in advance.
RobertT
September 18th, 2001, 09:19 AM
Have you tried the RichText Box property 'SelCharOffset' property?
shashidharkr
September 19th, 2001, 05:53 AM
Hi,
SelCharOffset property shifts the text above or below the baseline. But how to make only a few words in the richtextbox as sub /superscript with different (smaller) fontsize compared to the other text?
RobertT
September 19th, 2001, 08:13 AM
Try using the 'SelFontSize' property to make selected text smaller.
John G Duffy
September 19th, 2001, 12:54 PM
You might want to look at this
http://216.5.163.42/xq/ASP/txtCodeId.11961/lngWId.1/qx/vb/scripts/ShowCode.htm
John G
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.