BUG: DBGrid Does Not Paint Correctly When AlignedLast reviewed: October 3, 1996Article ID: Q142826 |
The information in this article applies to:
SYMPTOMSWhen a form with a bottom-aligned data control and a bottom-aligned DBGrid control is resized vertically, the DBGrid control paints over a portion of the data control. This same behavior occurs when a bottom-aligned picture box replaces the data control.
RESOLUTIONAdd the following line of code in the form's Resize event (which is called when the form is drawn initially and every time the form is resized):
<name of DBGrid control>.RefreshThis causes the DBGrid control to repaint itself and not to obscure the data control (or picture box).
STATUSMicrosoft has confirmed this to be a issue in the Microsoft products listed at the beginning of this article. We are researching the situation and will post more information here in the Microsoft Knowledge Base when it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: 4.00 vb4win vb4all buglist4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |