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

ID: Q96450


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0


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 "Microsoft Visual Basic Programming System for Windows Professional Edition Professional Features," version 2.0, "Custom Control Reference," pages 149-150.

Additional query words: 2.00 3.00

Keywords :
Version : WINDOWS:2.0,3.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.