Changing object layer order in run time.

lga
03-23-2003, 09:42 AM
I'm trying to draw a number of lines in run time onto my form but they keep being hiden behind lables and pic boxes that are also drawn in run time. I've tryed changing the order in which they are created but they still seem to fall behind the other objects.
Is there a way of making them apear on top by using an extra comand when created in runtime or is it posible to draw them in design mode and setting them to always remain on top?

Garrett Sever
03-23-2003, 11:21 AM
lightweight controls, such as lines, shapes, and labels, will ALWAYS be drawn behind other controls unless you place them inside a picturebox.

lga
03-23-2003, 11:51 AM
Chears anyway!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum