Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Escape -> Undo - Turn off?

Status
Not open for further replies.

jjwild

Programmer
Sep 7, 2001
115
US
I have a bound form where the value in field A determines if field B is editable. The lost focus event for field A enables or disables field B.

This works fine unless the user presses Escape. The original values of field A and field B display but the enabled status of B is not changed. I either need to find a way to:
> Turn off the escape key so the user can only undo the changes using a
command button I will write OR
> Find an event triggered by the Escape key's action where I can then enable or
disable field B again.

I have looked at the different form events and properties and have found nothing.

Any ideas?
 
here's a string that can help you do just what you want:

thread707-23099
 
Thanks for the help. That thread gave me what I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top