D DCooper Member Licensed User Longtime User Mar 2, 2012 #1 How do you insert superscript. For example: Square inches to in^2 Thanks, Dustin
NJDude Expert Licensed User Longtime User Mar 2, 2012 #2 Take a look at the RichText library. Upvote 0
D DCooper Member Licensed User Longtime User Mar 6, 2012 #3 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
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!
NJDude Expert Licensed User Longtime User Mar 6, 2012 #4 This works: B4X: rs.Initialize("Hello{S}3{S} and that's it") rs.Superscript2("{S}") Label1.Text = rs Upvote 0
D DCooper Member Licensed User Longtime User Mar 7, 2012 #5 NJDude said: This works: B4X: rs.Initialize("Hello{S}3{S} and that's it") rs.Superscript2("{S}") Label1.Text = rs Click to expand... 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
NJDude said: This works: B4X: rs.Initialize("Hello{S}3{S} and that's it") rs.Superscript2("{S}") Label1.Text = rs Click to expand... 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
margret Well-Known Member Licensed User Longtime User Mar 7, 2012 #6 B4X: rs.Initialize("Hello{S}" & yourvariablehere & "{S} and that's it") rs.Superscript2("{S}") Label1.Text = rs Upvote 0
B4X: rs.Initialize("Hello{S}" & yourvariablehere & "{S} and that's it") rs.Superscript2("{S}") Label1.Text = rs