FIX: Form Wizard EditBox ForeColor Property Not Recognized
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
- Edit the Wizard-created form.
- Select the BUTTONSET1 object HasMemo property.
- 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.
- Save and run form.
- 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. This has been corrected in Visual
FoxPro 6.0.
MORE INFORMATION
Steps to Reproduce Behavior
- Click New on the File menu, click Form, and then choose Wizard.
- Select Samples\Data\Employee.dbf, or any table containing a memo field.
- Select the Emp_id, Last_name, and Notes (memo) fields. Choose Finish.
- Save the form, modify it in the Form Designer, and click Finish.
- Change the Last_name TextBox ForeColor property to red.
- Change the Notes EditBox ForeColor property to red.
- Run the form.
- 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
© Microsoft Corporation 1997, All Rights Reserved.
Contributions by Perry Newton, Microsoft Corporation
Additional query words:
kbvfp600fix
Keywords : kbdisplay kbprg kbtool kbui kbVFp500abug FxotherDisplay FxprgClassoop FxtoolFormdes
Version : :3.0,3.0b; MACINTOSH:3.0b; WINDOWS:5.0,5.0a
Platform : MACINTOSH WINDOWS
Issue type : kbbug