PRB: "Unrecognized Command Verb" in the Screen Builder

Last reviewed: April 30, 1996
Article ID: Q108197
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a and 2.5b

SYMPTOMS

When you are executing a screen program generated with the Screen Builder, the "Unrecognized Command Verb" or "Syntax Error" error message is displayed on a GET field that contains a customized COLOR statement.

CAUSE

You can customize colors in the Screen Builder by adding a COLOR statement to a GET expression. For example, in the WHEN clause of a GET expression, you can add the following to modify the COLOR of disabled GET objects:

    .T. COLOR ,,,,,,,,,RGB(0,0,0,192,192,192)

If a color has already been predefined for an object using the Fill Color or Pen Color dialog box, the Screen Generator will generate two COLOR statements, causing the "Unrecognized Command Verb" error message.

RESOLUTION

To prevent this error from occurring, select the object, choose Fill Color and then Pen Color from the Object menu, and make sure that Automatic is selected in both dialog boxes.

MORE INFORMATION

NOTE: In Visual FoxPro, the color of an object on a form is controlled by the BackColor and ForeColor properties.


Additional reference words: FoxWin 2.50 2.50a 2.50b get disable errmsg err
msg
KBCategory: kbprg kberrmsg kbprb
KBSubcategory: FxtoolSbuilder


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.