[Migrated content. Thread originally posted on 22 March 2004]
Is it possible to cause an ACCEPT statement to terminate from within an event procedure? I tried setting ACCEPT-CONTROL to 1, 2, and 3 and none of them seem to have any effect.I'm using an ActiveX control which "eats" all keyboard input, and I want to be able to allow the user to exit the program with the ESC key when the control has focus. I am determining ESC has been pressed in the event procedure, but then I don't know what to do after that to get the program to end the ACCEPT.