closeField and the clear command

J. Landman Gay jacque at hyperactivesw.com
Sun Dec 12 15:20:00 EST 2010


On 12/12/10 10:35 AM, Bill Vlahos wrote:
> The docs say that if you "put" something from a script into a field
> no closeField message is sent.
>
> This appears to be the same as if you delete (menuItem Clear) as
> well. Is this the correct behavior because the docs don't mention
> it?

Yes. Scripts don't send any messages that are normally generated only by 
user actions. The only exception I can think of off-hand is the "click 
at" command, which simulates a few mouse events.

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




More information about the Use-livecode mailing list