I have a form (X3) opening within an MDI form (X1) when selected from a menu. The task of the form is to draw a graph, which is achieved though a called subroutine.

This does not activate until a scrollbar is clicked, at which point the picture appears fine.

Firstly I want the picture to be drawn once the form is opened. As a recent converter to VB.net I am struggling to set the code for this.

The graph also starts up and refreshes itself happily when another form is dragged across it.

Any suggestions on how to code an automatic initial plot.

Thanks for the help.