I wonder if there is a simple way to flag a change in input etc. other than setting a flag at every script.
Typically this would be where a value is changed by the user, a "recalculate" or "save" or some other process must follow so the user does not overlook the requirement.
I suspect the change in the field triggers a message in REV, if so, how can this be utilised (a code snippet would be great)
I am sure most developers have solved this and newbies would benefit from the tip.
I would!
Flag a change
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Re: Flag a change
For fields, you can always handle the closeField message, which is sent when the user has changed the content of a field and leaves it (by tabbing out of it or clicking on another field) - but this doesn't help when the text is changed by a script, so you'll still have to set the flag yourself from there.
Jan Schenkel.
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Re: Flag a change
Also check out the "exitField" message, sent when the user leaves the field, but when nothing has changed.
Craig Newman
Craig Newman