return in field activates default button

Klaus Major klaus at major-k.de
Thu Jul 26 15:54:29 CDT 2007


Hi Ken,

> 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.

thanks for testing.

Damn, but this happens to me from time to time and I am NOT dreaming ;-)

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

Regards

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



More information about the metacard mailing list