closeField and the clear command
Peter Brigham MD
pmbrig at gmail.com
Sun Dec 12 12:48:05 EST 2010
On Dec 12, 2010, at 11: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?
This appears to be true. You will probably have to intercept the
backspaceKey and deleteKey messages and add a "send closefield to the
target" message after the deletion.
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list