Why no closeField messages sent?

Frank D. Engel, Jr. fde101 at fjrhome.net
Wed Jan 12 17:42:26 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look at the second paragraph under the "Comments" section of Rev's docs 
on the closeField message.

They explicitly state that the "put" command does *not* trigger a 
closeField message (at least as of 2.5).

On Jan 12, 2005, at 5:36 PM, Michael D Mays wrote:

> Compatibilty is extended to the documentation. Neither docs state that 
> the message is sent  only after user interaction.;)
>
> Is there a message sent or property changed  when the field is dirtied?
>
> On Jan 12, 2005, at 10:28 AM, J. Landman Gay wrote:
>
>> 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
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB5afS7aqtWrR9cZoRAhDWAJ0RhyEA38Khe4a0JpQbhOAHIbMvYQCdEg7K
9hKdYvQpE5kYFfSmFJk0QCs=
=VOVp
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the Use-livecode mailing list