Detect when a field changes

AndyP smudge.andy at googlemail.com
Sat Nov 16 23:47:36 CET 2013


Hi Bill,

Thought this was odd so made a little test stack... and yes you are right
and focus has no effect.

Now it seems that the textChanged meassage is only sent when Typing in a
field has happened and not when the contents of the field actualy change!

There is a way around the problem. I'm assuming you using a put to get your
contents into the field.

Try using the Type command instead. This simulates physical typing in the
field.

You can do something like this;


select after fld "MyField"
set the typingRate to 0 // no delay
Type "MyStuffHere" // instaed of put








-----
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Your LiveCode Work Desks - New Blog
http://livecodemydesk.blogspot.de/  

PointandSee is a FREE simple but full featured under cursor colour picker / finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Detect-when-a-field-changes-tp4672425p4672429.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list