Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

depth on shape objects 1

Status
Not open for further replies.

jizzer

Instructor
Sep 26, 2011
9
0
0
US
I have a simple app that adds new shape objects to the form. The problem is that each new shape appears at a lower depth on the form appearing below the previously drawn shapes - instead of being drawn above/over the previous shapes.
How can I change this at runtime ?

thanks for the tips
 
I believe the ZOrder property is what you are looking for.

Shape1.ZOrder 0 'bring to front
Shape1.ZOrder 1 'send to back
 
perfect - I only looked in the property window.
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top