return in field activates default button

Klaus Major klaus at major-k.de
Thu Jul 26 13:31:47 CDT 2007


Hi friends,

anyone noticed this strange behaviour on the Mac?
Must be an engine problem, does not happen in the Rev IDE (maybe a  
front- or backscript there?)

Recipe:
1. Create a new stack
2. Add a field (with NO script of any kind!)
3. Add a "default" button with script:
on mouseup
   close this stack
end mouseup
4. Write a line in the field and then hit return to create a new line  
in the field
5. Boom, the button gets triggered somehow and the window closes
6. Big fun! You're licked, if you did not save before ;-)

Not tested in a standalone yet...


Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the metacard mailing list