|
-
November 3rd, 1999, 12:00 PM
#1
KeyPreview property of form
Hi
I've set the KeyPreview property of form1 to true so that I can cancel any ADD OPERATIONS by pressing ESCAPE. Okay, this function works well for me, but I found that if the Focus is on a DBCOMBO BOX, I can't cancel ADD OPERATION by pressing ESCAPE, the event, Private Sub Form_KeyPress(KeyAscii As Integer)
wouldn't be triggered, why ? If the Focus is on a Maskedbox, this event would be triggered when any key pressed. Thanx for telling in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|