Default Button

Robert Brenstein rjb at robelko.com
Thu Sep 1 10:30:33 EDT 2011


On 31.08.2011 at 17:29 Uhr -0700 Pete apparently wrote:
>I put a default button a card that has a couple of field controls on it.
>  The field controls all have lockText set to true and traversalOn set to
>false.  Pressing the return key when the card is active does not execute the
>mouseUp handler for the default button as claimed by the dictionary.  Is
>there some other setting of the card/button/controls that I have to use?
>Pete

Have you tried to place in the card script:

on returnKey
   click at the loc of btn "mydefaultbuttonname"
end returnKey

Robert




More information about the use-livecode mailing list