BUG: Form Wizard EditBox ForeColor Property Not Recognized

Last reviewed: July 14, 1997
Article ID: Q158758
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, Professional Edition, versions 3.0, 3.0b
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SYMPTOMS

If you modify the ForeColor property of an EditBox control (memo field) in a Wizard-created form, the ForeColor change does not appear when you run the form.

CAUSE

The HasMemo property of the Wizard BUTTONSET1 control is incorrectly set to .T. (true).

WORKAROUND

  1. Edit the Wizard-created form.

  2. Select the BUTTONSET1 object HasMemo property.

  3. Notice that the value is .T., secondary-mouse click on the HasMemo property, and select "Reset to Default." Ensure that the value is set to .F.

  4. Save and run form.

  5. Click Edit. Notice that the EditBox ForeColor is red.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Click New on the File menu, click Form, and then choose Wizard.

  2. Select Samples\Data\Employee.dbf, or any table containing a memo field.

  3. Select the Emp_id, Last_name, and Notes (memo) fields. Choose Finish.

  4. Save the form, modify it in the Form Designer, and click Finish.

  5. Change the Last_name TextBox ForeColor property to red.

  6. Change the Notes EditBox ForeColor property to red.

  7. Run the form.

  8. Click Edit.

Notice that the Last_name TextBox ForeColor changes to red but the EditBox ForeColor does not.

REFERENCES

Visual Class Library (Wizstyle.vcx), Visual FoxPro, 5.0, \Vfp\Wizards folder (c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Perry Newton, Microsoft Corporation


Keywords : FxotherDisplay FxprgClassoop FxtoolFormdes kbdisplay kbprg kbtool kbui vfpbug5.0a kbbuglist
Version : 5.0a 3.0 3.0b 5.0
Platform : MACINTOSH WINDOWS
Issue type : kbbug


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: July 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.