views:

12

answers:

1

I have a Window Mobile app where the forms use keypreview and post the form when the Enter key is pressed. If the form post has a delay, the user may press enter again. The second enter is processed when the first process ends.

How can I ignore the second enter press or prevent it from being queued?

I tried turning off keypreview, but the results were not consistent and the enter key was still processed by the control with focus.

A: 

I think this question is probably the same problem (and the answers are the resolution).

ctacke