BUG: SetAll Not Refreshing Text Boxes in Grid When Sparse =.F. (193414)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q193414 SYMPTOMS
Using a grid that contains a column or columns, with their Sparse property
set to .F., and then using the SetAll() method to set a text box property
like BackColor, causes the updated property not to appear in the grid text
boxes until the grid is refreshed or gets focus.
RESOLUTION
As a workaround, use one of the following three methods to force the grid
to be repainted:
- Call the form's Refresh() method.
-or-
- Call the grid's SetFocus() method.
-or-
- Set the value of the grid's scroll bars to itself.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
REFERENCES
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbbug kbcode kbnofix KB193414 |
---|
|