"get the textStyle of char x to y of field 2" is e

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dbowling
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 12
Joined: Mon Apr 17, 2006 6:38 pm

"get the textStyle of char x to y of field 2" is e

Post by dbowling » Sun May 20, 2007 1:09 am

I cannot reliably read the textStyle (or textColor either) of chunks of text.

Some text in a field "myField" responds sensibly to:

get the textStyle of char x to y of field "myfield"

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Sun May 20, 2007 10:25 am

What do you get?

Have you tried with the effective keyword?

get the effective textstyle of char 4 to 5 of fld "myField"

All the best,

Malte

Post Reply