return in field activates default button

Ken Ray kray at sonsothunder.com
Thu Jul 26 15:49:36 CDT 2007


On Thu, 26 Jul 2007 20:31:47 +0200, Klaus Major wrote:

> 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 ;-)

Doesn't happen to me, Klaus... and I've put in a breakpoint before the 
"close this stack" and checked all the front scripts and it just works 
properly. 

MC IDE 2.8.2, Engine 2.8.1 build 471.


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


More information about the metacard mailing list