Copying data between fields
dsc at swcp.com
Sun Apr 4 19:32:16 CDT 2004
On Sunday, April 4, 2004, at 12:32 PM, Glen Bojsza wrote:
> I have a list field which has a couple of lines that I have "grayed"
> out while the rest are normal. I want to copy the lines from one field
> to another field and be able to keep the format of the lines that are
> "grayed" out.
Look at the htmlText property of the field and see if that looks
parse-able and usable. If you can pull out the html for that section
you can then set the htmlText of the other field with that. Watch for
possibly going in and out of grey.
Another approach would be to go through every character, look at its
color and then copy that and then the style, font etc. over.
More information about the use-livecode