Draw grid on panel?

  • Thread starter Thread starter JustMe
  • Start date Start date
J

JustMe

Hi:

I've figured out how to draw a grid on a panel using the POLYLINE function.
Is there a way to do this so that when the panel is refreshed, scrolled,
etc.. the grid won't disappear?

Thanks,
--Terry
 
If you override the Panel and draw the grid in the OnPaint method then it
will paint with the grid whenever the panel is refreshed (invalidated).
 
Back
Top