Increasing Text Size in Fields
mikekann at yahoo.com
Sun Jan 3 19:12:33 CST 2010
Jim had a couple of questions about a stack he submitted to revonline. I didn't see an email address hanging around so I'll reply here. Maybe he'll see it.
I found Jim's stack here:
Dec 23, 2009
The question was about resizing the text in a fld. The faulty code changes both the textsize and the textheight of the fld. Just change the textsize, not the textheight.
The following code works. No guardrails included.
put the textSize of fld "a" into oldTextSize
put oldTextSize + 2 into newTextSize
set the textSize of fld "a" to newTextSize
Another question was about select all. It's built-in.
Select all is ctrl-a on Windows, I think cmd-a on Macs
Hope this helps.
More information about the use-livecode