PRB: BackColor of Shape Bleeds Through on Top-Level Form with Grid (256179)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q256179 SYMPTOMS
You have a form with the ShowWindow property equal to 2 (As Top-Level Form) and the form contains a grid and text boxes on top of a shape object. As you tab through the text box objects, the background color of the shape may bleed through into your text boxes even if the shape object's BackColor property is set to the default.
RESOLUTION
To avoid this problem, either avoid the use of shapes to group affected text boxes, or run the form in another top-level form.
If you are using a transparent shape, as in the following sample, another workaround is to set the shape's BackColor property in the form's Init event to be the same as the back color of the text boxes.
NOTE: This workaround does not allow for changes in the Windows color settings in the middle of the application but should cover most cases.
Modification Type: | Major | Last Reviewed: | 6/8/2000 |
---|
Keywords: | kbCodeSnippet kbContainer kbCtrl kbDSupport kbprb KB256179 |
---|
|