BUG: CommandButton Receives Keystroke from Open DialogLast reviewed: February 13, 1998Article ID: Q181010 |
The information in this article applies to:
SYMPTOMSIf a CommandButton has the focus and is used to open a MessageBox, InputBox, or form, when you use the ENTER key to close the MessageBox, InputBox, or form the Click event procedure of the CommandCutton executes.
CAUSEThe ENTER key strokes returned from an open dialog or other form are interpreted by a CommandButton as a Click event.
RESOLUTIONThere are two workarounds for this problem.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis problem occurs when using the ENTER key to close a Messagebox, an InputBox, or another form:
Steps to Reproduce Behavior
REFERENCESBooks Online for Microsoft Windows CE Toolkit for Visual Basic 5.0
|
Additional query words: wce vbce
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |