>Hello Everyone,
>
>I have a form with a pageframe, behind the pageframe I'm trying to place a shape. When I save my form everything looks fine, but when I compile my app the shape ends up "on top" of the page frame?? I've set the shape to the bottom using the layout toolbar, is there something else I'm missing? I actually had this problem once before, but I can't remember how I fixed it.
Run the form with the debugger on - and have
atc("zorder", program())
as a breakpoint in the watch window, so to catch any calls to zorder() of either the pageframe or the shape by any stray code (framework?). Also, have a wait window in the .init() and maybe .activate() of the shape and pageframe (as applicable) just to make sure that the pageframe instantiates after the shape.
Another thing to check - after sending the shape into the background, save and open again: if in the top combo in the PEM window the shape is above the pageframe, it's OK. If it's below, something's wrong and the order didn't catch. You may cut and paste the pageframe - that'd put it on top for sure. Backup first.