What have I overlooked?

  • Thread starter Thread starter codytheretriever
  • Start date Start date
C

codytheretriever

Need help needless to say. To keep it "simple":
I have developed a program that takes a person from Point
A to Point B using numerous forms. Even though each
person using the program has choices along the way, my
goal is that they all ultimately end up at Point B. With
help from people like you I have been able to keep them
on the desired path(s) by disabling form "Close" buttons
and double-click functions. Thought I had it made. Then
found out that if the "ESC" button is hit while on
certain forms my "desired pathways" can go amuck. I still
don't understand why hitting the "ESC" key when some
forms are active causes unexpected behavior, while doing
the same when a different form is active does nothing.
Am really confused with that. What am I missing?

I need them to enter a password along the way but before
and after that is done I want no keyboard functionality
so they have to stick to the "form" pathways I have
developed .... with no "ESC" or similar side/backdoors to
cause problems. Any help will be sincerely apprectiated.
After a month of trying to make this program "idiot"
proof, I find myself a frustrated "idiot" in that I am
unable to figure this problem out!
Thanks in advance ....
 
the escape key can cause code to halt execution

Look at Application.EnableCancelKey

With the focus over a userform, you can designate one control's cancel
property as true. Hitting ESC fires the click event for this control.

You can also look at the application.Interactive property - that may be of
some use.
 
Back
Top