foregroundColor lost in transit...

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
RossG
Posts: 247
Joined: Thu Jan 08, 2015 7:38 am

foregroundColor lost in transit...

Post by RossG » Wed Jul 06, 2016 6:46 am

Is there a way for a text item to retain its foregroundColor
setting when it's move to a different field?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: foregroundColor lost in transit...

Post by dunbarx » Wed Jul 06, 2016 2:15 pm

Hi.

Check out the "HTMLText" in the dictionary.

Code: Select all

set the effective HTMLtext of fld 2 to the effective HTMLtext of fld 1
I am still in v.6. I believe that in v.8 there is yet another text-maintaining method, but have forgotten what it is.

Craig Newman

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”