Superscript text in label

DCooper

Member
Licensed User
Longtime User
How do you insert superscript. For example: Square inches to in^2

Thanks,
Dustin
 

DCooper

Member
Licensed User
Longtime User
Ok, So here is the code I can't get to work.

rs.Initialize("{S}3{S}")
rsb.Initialize("Box Fill: ")
rsb.Append(TotalArea).Append("in.").Append(rs)
rs.Superscript2("{S}")
Output.Text = rsb

Any ideas?

Thanks!
 
Upvote 0

DCooper

Member
Licensed User
Longtime User
This works:
B4X:
rs.Initialize("Hello{S}3{S} and that's it")
rs.Superscript2("{S}")
Label1.Text = rs

It does work, but.... It doesn't have my value inserted in it. How do I make it work so it will display with my value I need?

Thanks
 
Upvote 0
Top