Hello,
it's possible to write a exponent in a field or a label ?
I have testing with copy and paste from word or page, but it's not possible to change the size in the textformating.
Thank you for your answer.
Best regards
Boris
Exponent in text field ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 47
- Joined: Wed Dec 21, 2011 10:42 am
- Contact:
Exponent in text field ?
My application "GeoMaths" is available on Itunes and Google Play !
Re: Exponent in text field ?
Hi.
Do you mean to:
put "4^2" into fld "yourField"? (the "^" char, ASCII 94)
And then you can "answer the value of fld yourField"
Craig Newman
Do you mean to:
put "4^2" into fld "yourField"? (the "^" char, ASCII 94)
And then you can "answer the value of fld yourField"
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Exponent in text field ?
As with LaTex, Postscript, and other text formatting languages, you can shift the baseline of text in LiveCode as well - see the textShift chunk property in the Dictionary.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 47
- Joined: Wed Dec 21, 2011 10:42 am
- Contact:
Re: Exponent in text field ?
Thank you all!
I can make the changes with "^" and edit the field with textShift.
Boris
I can make the changes with "^" and edit the field with textShift.

Boris
My application "GeoMaths" is available on Itunes and Google Play !
Re: Exponent in text field ?
Oh. That is what you meant by "exponent". A superscript.
Glad that both methods will work for you.
Craig
Glad that both methods will work for you.
Craig