waytech2003
Programmer
Just learning VB2010 after many years in VB6. I was wondering if there is a way to move a System.Drawing.Graphic on top of another after they have been drawn. All I can conclude at this time is that they stay in the order that they are created.
I have an array of graphics. My drawing is done in a Panel control, and I have them drawn in that panel's paint event. I test to see if the user has clicked on a shape, then I work with that shape. How would I bring it to the front? My thought at this moment is to reorder the array, and have the Panel repaint itself.
Any ideas other than that would be appreciated.
I have an array of graphics. My drawing is done in a Panel control, and I have them drawn in that panel's paint event. I test to see if the user has clicked on a shape, then I work with that shape. How would I bring it to the front? My thought at this moment is to reorder the array, and have the Panel repaint itself.
Any ideas other than that would be appreciated.