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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top