BUG: SET('KEYCOMP') Produces "Invalid Set Expression" ErrorLast reviewed: April 18, 1995Article ID: Q114198 |
The information in this article applies to:
SYMPTOMSWhen the 'KEYCOMP' parameter is passed to the SET() function (as shown in the following example), an "Invalid Set Expression" error message is produced:
? SET('KEYCOMP') RESOLUTIONSET KEYCOMP is not a valid set expression under FoxPro for MS-DOS. To visually emulate the SET KEYCOMP behavior, implement the following code:
DO CASE CASE _WINDOWS = .T. KEYCOMP = "Windows" CASE _MAC= .T. KEYCOMP = "Mac" CASE _DOS= .T. KEYCOMP = "DOS" ENDCASEWhen this code is run under FoxPro for MS-DOS, the "DOS" option will be returned to the screen. Unfortunately, the keyboard navigation cannot be changed from the default MS-DOS command.
STATUSMicrosoft has confirmed this to be a problem in FoxPro versions 2.5b and 2.6 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIn FoxPro for Windows and FoxPro for Macintosh, SET('KEYCOMP') can be used to determine what type of keyboard navigation was chosen with the SET KEYCOMP command.
|
Additional reference words: FoxDos 2.50b 2.60 errmsg err msg buglist2.50b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |