Microsoft KB Archive/108197: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 1: Line 1:
{|
{|
|width="100%"|
|width="100%"|
= PRB: "Unrecognized Command Verb" in the Screen Builder =
= PRB: "Unrecognized Command Verb" in the Screen Builder =


'''ID: Q108197'''
'''ID: Q108197'''
Line 14: Line 14:
== SYMPTOMS ==
== 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.
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 ==
== CAUSE ==
Line 22: Line 22:
<pre>    .T. COLOR ,,,,,,,,,RGB(0,0,0,192,192,192)
<pre>    .T. COLOR ,,,,,,,,,RGB(0,0,0,192,192,192)
</pre>
</pre>
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 &quot;Unrecognized Command Verb&quot; error message.
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 ==
== RESOLUTION ==



Latest revision as of 09:21, 20 July 2020

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.