Microsoft KB Archive/96450

= Set DrawMode to 2 Or 3 to Update Changes to Graph at Run Time =

Article ID: 96450

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition

-



This article was previously published under Q96450



SUMMARY
Changing properties of the graph control at run time does not update the control until DrawMode is set to 2 (Draw) or 3 (Blit).



MORE INFORMATION
The DrawMode property documentation states that at design time, when you change a property value, the graph is automatically redrawn to show the effect of the change. At run time, the graph is only redrawn when you set DrawMode to 2 or 3. This allows you to change as many property values as you want before displaying the graph. However, when the form containing a graph is first displayed, the graph is automatically displayed according to the current DrawMode value.

For more information, see the &quot;Microsoft Visual Basic Programming System for Windows Professional Edition Professional Features,&quot; version 2.0, &quot;Custom Control Reference,&quot; pages 149-150.

Additional query words: 2.00 3.00

Keywords: KB96450

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.