Thanks Karen,
No I don't need it in an editfield.  
I need it in printing, for example, I need to print 2+3 with the + and 3 as 
superscripts.
Any suggestions/
Thanks.
Lennox.

Karen <[EMAIL PROTECTED]> wrote: 
On Apr 21, 2007, at 11:01 PM, Lennox Jacob wrote:

> Is there a way to make (Superscript 1,2,3 and 4)
>
> Encodings.UTF8.Chr(&hB9)
> Encodings.UTF8.Chr(&hB2)
> Encodings.UTF8.Chr(&hB3)
> Encodings.UTF8.Chr(&h2074)
>
> have the same vertical offset as these (Superscript 0,5,6,7,8 and 9)

Do you really need this in a editfield?

If not you can simply draw superscripts and subscripts yourself in  
say canvas by using a smaller fontsize than the rest of your  text  
and offsetting where you draw it. It's really not that hard to  
generalize that (for a single font and fontsize) in a drawing  
function (using delimeters to specify superscripts and subscripts)  
and then you have total control and are not limited to numerical  
superscripts or a particular front.

- Karen





_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives:



       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to