Default button

Robert Presender rpresender at earthlink.net
Thu Jul 10 16:19:00 EDT 2003


Using OS 10.2.6, Rev 2.0.1

In development phase, I have a splash window with a default button 
(pulsing, no editable fields on card).  Have a mouseUp handler which 
works fine when clicking on the button, but the default button doesn't 
respond to enter or  return keys.

When a standalone is made of this stack, the default button is 
activated when enter or return keys are pressed.


My handler is:

on mouseUp
   if "X" is in field "RegCode" of stack "Registration" then
    set the lockscreen to true
     go stack "Articles"
     close stack "Creator"
    unlock screen
   else
  set the lockscreen to true
     go stack "Registration"
     close stack "Creator"
     unlock screen	
   end if
end mouseUp

Anyone have an explanation for this behavior?

tia

Regards .... Bob




More information about the use-livecode mailing list