Changing the Default Button

Ken Ray kray at sonsothunder.com
Mon Sep 26 20:18:06 EDT 2005


On 9/26/05 4:47 PM, "Dan Shafer" <revdan at danshafer.com> wrote:

> Sarah....
> 
> Makes sense, BUT.... Setting the default of a button in the property
> inspector in the IDE works in such a way that it does indeed activate
> that button's mouseUp script on return/enter without any scripting on
> our part. So the question is why when he changes the default button
> from button A to button B in a script, does not hitting Return/Enter
> activate Button B's default mouseUp handler. Should work as far as I
> can tell. Clearly doesn't.

Is this in Mac or Windows? The reason I ask is that the traversalOn may have
something to do with it (i.e. what object has the focus).

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list