Microsoft KB Archive/108197

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:21, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PRB: "Unrecognized Command Verb" in the Screen Builder

ID: Q108197

2.50 2.50a 2.50b WINDOWS

  kbprb

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:   kbprb

KBSubcategory: FxtoolSbuilder

Keywords          : kberrmsg FxtoolSbuilder 
Version           : 2.50 2.50a 2.50b
Platform          : WINDOWS

Last Reviewed: May 22, 1998
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.