Super and sub-scripts

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
anmldr
Posts: 459
Joined: Tue Sep 11, 2012 11:13 pm

Super and sub-scripts

Post by anmldr » Thu Feb 05, 2015 12:37 am

Is there a way to add super and subscripts within the text of a button or field or label or really any other visible container? For instance, what can be used in HTML.

10<sup>3</sup>

or

LD<sub>50</sub>

Linda

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Super and sub-scripts

Post by FourthWorld » Thu Feb 05, 2015 12:39 am

See the textShift property in the Dictionary.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply