Simple question on displaying text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Simple question on displaying text
If I create a stack and put a text field on it, then type some text into the Contents field in the Inspector, the text does not show up on the stack. I have looked sample of stacks that do have text on them, and their field settings seem to be the same as mine.
Sure I am missing something really elementary here, but I have not found the answer in tutorials or the user guide.
TIA
grovecat
Sure I am missing something really elementary here, but I have not found the answer in tutorials or the user guide.
TIA
grovecat
Re: Simple question on displaying text
Hi grovecat,
at first welcome to the forum!
I have never problems with that!
Are you sure you didn't enter the text into the TOOLTIP field?
This happened to me several times
Is the field big enough to show its contents?
Sorry, have to guess...
Best
Klaus
at first welcome to the forum!

I have never problems with that!
Are you sure you didn't enter the text into the TOOLTIP field?
This happened to me several times

Is the field big enough to show its contents?
Sorry, have to guess...
Best
Klaus
Re: Simple question on displaying text
Also, just in case you haven't discovered it, you should tab or click outside the inspector's Content field if you want to see the text appear on the card. The text isn't finalized until the Content field closes.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Simple question on displaying text
Also, just in case - if it is a single line field, make sure that the contents do not have a return character (which would be invisible) at the end. That would push the text up one line, leaving the empty line visible in the field.
(For single line fields, it is worth checking the "tab on return" box in the property inspector, or setting the autoTab property for this reason.)
(For single line fields, it is worth checking the "tab on return" box in the property inspector, or setting the autoTab property for this reason.)
Re: Simple question on displaying text
...and make sure you don't have the field set to display white text on a white background. That one's tripped me up before.
Re: Simple question on displaying text
Many thanks to all who responded with good suggestions.
I'm sure I did not fall into any of those traps. However, I just restarted LiveCode, created a new mainstack with a text field and it all works as expected. I can only imagine there was some problem with the stack I was working on before (it was my first).
Cheers
I'm sure I did not fall into any of those traps. However, I just restarted LiveCode, created a new mainstack with a text field and it all works as expected. I can only imagine there was some problem with the stack I was working on before (it was my first).
Cheers