>>>Having a form with an 'cancel button', if you make changes in a textbox control and press 'esc', the cancel button is activated but the changes mades in the control with the focus are discarded.
>>>I know this is the default behavior, but, is there a way to valid changes even with the 'esc' key?
>>>Thanks. Carlos.
>>
>>carlos, if you used "Esc" doesn't it mean you do NOT need the changes made to the control's value?
>>
>>Nick
>
>If i'm the user yes.
>But the user saids me that he has finished the work and why must he go to the next control.
>he saids too: If i click in the exit button changes are accepted. If i press the esc key don't. Why this difference?
So, the user just doesn't understand the difference between the buttons and you can boldly remove "Cancel" button and avoid further questions... :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison