On 19/03/14 16:30, Mark Schonewille wrote:
Richmond,
That's a matter of interpretation. By "clearing the htmlText" I mean
"resetting it to "<p></p>".
Well, now we have 2 conumdrums for the price of one:
1. When is 'empty' empty?
2. When does "clearing the text" clear the text?
Well; even if nothing else, some of us have had a wee drop of fun at a
slack time in the week :)
Richmond.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 3/19/2014 15:12, Richmond wrote:
On 19/03/14 16:09, Mark Schonewille wrote:
Hi Tim,
Why would you want to do this? To make a field empty, just put empty
into the field and if you want you can test that it is empty:
put empty into fld 1
put (fld 1 is empty) --> true
This clears the text, the htmlText,
Not exactly: "put empty into fld 1" still leaves "<p><p/>" in the field,
OR, at least when one does something like this:
put the htmlText of fld 1 into fld 2
one ends up with "<p><p/>" in fld 2.
Richmond.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode