The default button

Bob Sneidar bobsneidar at
Fri Feb 24 18:13:34 EST 2017

Hi all. 

I was given to understand that there can only be one default button. I see I am mistaken. I thought that setting the defaultButton of a card unset the default of the button that was the defaultButton prior to that. It seems to me that this is how this ought to work, because if not, then the return key will yield unpredictable results. 

What this DOES do is on a standard button it changes the appearance to, for example on OS X, a blue button instead of a whitish one. Is this all this is for? It cannot be as hitting the return key WILL send a mouseUp to whatever the engine thinks is the current defaultButton. 

Bob S

More information about the use-livecode mailing list