>I have an instaniated Form wich by the user request (a command button) creates and shows a container object (a box with two textboxes) in the Form, once the object in the form the user can move it thru drag and drop, then generate another one and so on. The problem is that as each object is generated it's placed on the top of the others, how can I 'bring to front' any object as the user clicks on the container?. I have tried the TabOrder property but this works for the secuence of jumping to the next object, it doesn't bring graphically the objects to the front.
Use Zorder method:
thisform.myContainer.Zorder(0) && bring to front
thisform.myContainer.Zorder(1) && send to back
HTH,
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison