Has anybody run into this problem?

Devin Asay devin_asay at byu.edu
Tue Sep 25 13:45:29 EDT 2012


On Sep 25, 2012, at 11:32 AM, Charles Szasz wrote:

> I have a number of fields that I am using the closeField and exitField handlers to do calculations after the user enters  numbers in the fields. The Problem I am running into is that the closeField and exitField handlers do not work on the very last field when the user clicks directly on a button. I have tried using the command click at 0,0 in the button that the user presses after leaving a field but that does not work in LC 5.5.2. Anybody have a suggestion?

Charles,

A couple of thoughts (not tested.)

Try setting the traversalOn (Focus with keyboard in the prop inspector) to true for the button.

Try handling the new textChanged message in addition to the close/exitField messages.

HTH

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University





More information about the use-livecode mailing list