Escape

  • Thread starter Thread starter Scott
  • Start date Start date
S

Scott

Is there code that is written that once a user clicks a
button on a form the code executes the same instance as
the user pushing the escape key?

Thank you.
 
Scott said:
Is there code that is written that once a user clicks a
button on a form the code executes the same instance as
the user pushing the escape key?

Thank you.

Set the Cancel property of the button to True.

Tom Lake
 
pressing Esc has different results, depending on what you last did in a
form. what do you want to happen when the user clicks the command button?
 
Back
Top