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:

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