Why no closeField messages sent?

J. Landman Gay jacque at hyperactivesw.com
Wed Jan 12 11:28:30 EST 2005


On 1/11/05 5:14 PM, Michael D Mays wrote:

> If I do this from a handler
> 
>  select char 1 of fld 1
>  select char 2 of fld 2
> 
> an exitField message is sent from fld 1. But I cannot programatically 
> select a fld, modify it, exit it and generate a closeField message.
> 
> What am I doing wrong? Is it possible? If not, why not?:)

CloseField is only sent after user editing, not after changes from a 
script. It may be due to historical reasons, to maintain compatibility 
with HyperCard which does the same thing.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the Use-livecode mailing list