On CloseField and textStyle/textColor changes?

Pete pete at mollysrevenge.com
Wed Nov 2 13:59:46 EDT 2011


Hi John,
After adding the space by script, just send a closeField message to the
control.
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Wed, Nov 2, 2011 at 10:40 AM, JOHN PATTEN <johnpatten at me.com> wrote:

> Hi All…
>
> I have a field that updates a record in a SQLite database via a "on
> closeField" handler when the quantity of the text changes. I would like the
> record to be updated if the user just changes the color of the text or the
> style of the text too. Currently if a user only changes the color of the
> text the "on closeField" does not update the SQLite record?
>
> I tired to add a space after the last word in the field, but apparently
> adding text via script does not register the closeField call either. I have
> to physically type the space on the keyboard to have the closeField handler
> work and update the record.
>
> Any advice?
>
> Thank you!
>
> John Patten
> SUSD
> _______________________________________________
> 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