RETURN and ENTER Not Detected by INKEY$ If a BUTTON Is Present (20514)
The information in this article applies to:
- Microsoft BASIC Interpreter for Apple Macintosh 2.0
- Microsoft BASIC Interpreter for Apple Macintosh 2.1
- Microsoft BASIC Interpreter for Apple Macintosh 3.0
- Microsoft BASIC Compiler
This article was previously published under Q20514 SUMMARY
The information below applies to the following products:
- Microsoft QuickBASIC Compiler version 1.00, 1.00a, 1.00b for the
Apple Macintosh
- Microsoft BASIC Compiler version 1.00 for the Apple Macintosh
- Microsoft BASIC Interpreter versions 2.00, 2.10, and 3.00 for the
Apple Macintosh
The INKEY$ function cannot detect the RETURN key (the ENTER key on the
main keyboard) or the ENTER key (the ENTER key on the numeric keypad)
if there is also a BUTTON on the same window, because BUTTON traps the
RETURN and ENTER keys first. This priority of BUTTONs over the INKEY$
function is by design.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB20514 |
---|
|