Capturing Keyboard Events

zorica

New Member
Hello,

I need to block the introduction of '\' in the user input. While the triggers like ON CTRL-X HELP do work, I am not sure if I can check if the user has typed '\' instead of '/' in a fill-in field on a frame...Any suggestions?
 
Code:
on "\\" anywhere do:              
    return no-apply.              
end.

will result in nothing happening if the user presses \

You can change anywhere to something more specific if you want.
 
Hi,

Thank you very much! (Now I can finally go home since this was the last thing I had to do for this week :)

Have a nice weekend

Zorica
 
Back
Top