Consider the below code:
Names Default To Here( 1 );
New Window( "SetKey Example", mb = MouseBox( tb = Text Box( "Press a key." ) ) );
mb << setkey( Function( {this, key}, show( key ) ) );
mb << setkeyenable( 1 );
mb << setfocus;Pressing a button, such as K, causes the attached function to run twice. Clearly one can produce a work-around with timing and such, but I think that even the JMP developers would consider such user-based work-arounds to be unfortunate.
What inspired this wish list request?
What is the improvement you would like to see?
Why is this idea important?