BUG: Scrollable Form Displays Improperly on Resize or Scroll (193078)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q193078 SYMPTOMS
If you create a form with the ScrollBars property set to three, when you
resize the form the vertical and horizontal scrollbars may alternately
appear and disappear. Also, when you attempt to scroll the form after
resizing it, the edge of the form that repaints during the scrolling may
display a ghosted image with some of the form's controls.
RESOLUTION
As a workaround, you can call the form's Draw method from within the Resize
and Scrolled event procedures.
Place the following code in the form's Resize procedure:
Place the following code in the form's Scrolled procedure:
LPARAMETERS nDirection
This.Draw()
Please see the MORE INFORMATION section of this document for details.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
REFERENCES
(c) Microsoft Corporation 1998. All Rights Reserved. Contributions by Jim
Saunders, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 8/4/1999 |
---|
Keywords: | kbbug KB193078 |
---|
|