On 9/14/2014, 11:19 PM, Kay C Lan wrote:
Except Paul is right, on OS X the clear command in a custom built menu
does not invoke a closeField message which it does if using the IDE's
clear command. This does seem to be a bug.

I never use "clear" so I had to look it up. Clear is a synonym of "delete" and only works on objects ("delete this cd", "delete img 1".) So that explains why it doesn't work in fields.

I tried scripting a text deletion, but then we're back where we started -- scripted text changes don't trigger a closefield.

So in the case of "clear", your first solution is probably workable. I guess that explains why I always remove "Clear" from my menus. It's become so habitual, I'd forgotten why.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to