Detect when a field changes

Robert Brenstein rjb at robelko.com
Sun Nov 17 20:42:01 EST 2013


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




More information about the use-livecode mailing list