Be careful, is you function is triggered/executed and the user
and a keyboard key pressed, it may stay "jammed" on until they
press and release it again.
I have had this trouble with many API screen-control functions.
My UGLY fix was to put in this line in the code.
Code:
while(key_any!=0) wait(1);


Hpe this is of some help.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial