Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd on top/on bottom behaviour (shape/pageframe)??
Message
From
22/06/2008 20:47:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
22/06/2008 19:02:21
Chris Sund
Silhouette Solutions
Utah, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01326051
Message ID:
01326054
Views:
16
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform