ZOrder refers to the level of the Objects on a Form. To do what you want, its just a matter of making sure the Line is drawn before the circle.
If that doesn't work, then perhaps storing the position and the next position of the circle, setting the autoredraw property to false, clearing the picturebox, setting the autoredraw property to true, drawing the line, drawing the circle.
Bit hard to explain, but I think it's clear enough. :)
chem
chemicalnova
| Mon, 03 Dec 2007 18:49:00 GMT |