Detect when a field changes

Thomas McGrath III mcgrath3 at mac.com
Mon Nov 18 13:25:13 EST 2013


Ahh Ok, Thanks Ralph. That describes the difference much better.


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com

On Nov 18, 2013, at 1:19 PM, Ralph DiMola <rdimola at evergreeninfo.net> wrote:

> What I understood in this thread==> When field content changes via script
> the "textChanged" message is NOT sent. The "textChanged" message is only
> sent when the user types in a field or the "type" statement is used. This
> behavior was intended and consistent with the docs.
> I was pointing out the this is not the case with mobile native text field
> input. Mobile native text field changed via script WILL send a message(in
> this case the " inputTextChanged" message).
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> 
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
> Of Thomas McGrath III
> Sent: Monday, November 18, 2013 12:59 PM
> To: How to use LiveCode
> Subject: Re: Detect when a field changes
> 
> I'm lost on this thread??
> 
> Tom
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgrath3 at mac.com
> 
> On Nov 18, 2013, at 11:45 AM, Ralph DiMola <rdimola at evergreeninfo.net>
> wrote:
> 
>> Ah... but in mobile when one changes the content of a native text 
>> field via a mobileControlSet the inputTextChanged handler message is 
>> sent. Is this inconsistent?
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdimola at evergreeninfo.net
>> 
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
>> Behalf Of dunbarx at aol.com
>> Sent: Sunday, November 17, 2013 11:31 PM
>> To: use-livecode at lists.runrev.com
>> Subject: Re: Detect when a field changes
>> 
>> Robert.
>> 
>> 
>> You make a point. And it must be accepted that the message is only 
>> sent when a human being interacts. At least it is consistent.
>> 
>> 
>> Maybe it is the name of the message itself that makes me think it has 
>> a quirk, as opposed to a specifically defined functional spec.
>> 
>> 
>> Craig Newman
>> 
>> 
>> 
>> -----Original Message-----
>> From: Robert Brenstein <rjb at robelko.com>
>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>> Sent: Sun, Nov 17, 2013 8:51 pm
>> Subject: Re: Detect when a field changes
>> 
>> 
>> On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote:
>>> Bill.
>>> 
>>> I am with you, and any honest LiveCoder ought to be as well. The 
>>> "textChanged" message should stand on its own feet, if it has any, 
>>> and do what it advertises.
>>> 
>> 
>> But then, if "textChanged" fires on any change, including scripted 
>> changes, we need to go through extra hoops to distinguish between 
>> user-input and script-based changes. The message as it is now means 
>> Text-Changed-by-User and allow us, for example, verify user input (and 
>> what if the verification routine programmatically corrects user 
>> input?). I am not sure that that would really be so useful in the big
> scheme of things.
>> 
>> RObert
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list