>I have a form. I have a pageframe. I have a container. The container is in front of the pageframe. From a button on a page inside if the pageframe I do this, (with real names of course).
>
>Thisform.container1.zorder(1)
>
>The container goes away behind the pageframe.
>
>Another button I do this:
>
>Thisform.container.zorder(0)
>
>It doesn't come back to the front.
>
>I have used this technique often to simulate a input box and have never had a problem. I'm not sure if this problem is the pageframe or the container? Any ideas?
>
>Thanks -
>ken
I use container.ZOrder(0)quite often and never had a problem (at least in VFP 5)
As a workaround you may try to send the page frame to back: thisform.pageframe.ZOrder(1)
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