When has a field changed?
jhurley0305 at sbcglobal.net
Tue Oct 25 16:21:56 CDT 2011
I have a text field (unlocked) that the user can edit, but I want to know when and to deal with the changes.
Here is what I have come up with, something of a kludge. Is there a cleaner way?
on mouseEnter --Enter the field
set the textChange of me to false
on rawkeydown tKey
if the textChange of me is true then
set the textChange of me to true
if the textChange of me is false then
send "mouseUP" to button "ProcessChanges" --This is where the change is dealt with.
More information about the use-livecode