Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange display effect
Message
From
21/09/2005 13:49:11
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051387
Message ID:
01051724
Views:
9
Hi,

>We have a form with a pageframe with 9 pages. Each page represented by container added in run-time. One of the pages called PageUB. This page is a container and it has 5 buttons. When you click on the button, another "child" appropriate container is displayed. Actually the logic is like this: when you open this page, you're either presented with a screen (container) that some required information is missing or you're presented with a modal form to pick up an insurance and a bill (or create a new bill). Then the Patient subcontainer is activated. If you click on the second button (Billing), another container is displayed. At the bottom of the form there is another "static" container (bellow the pageframe). Here is the place I see this weird effect. Every label looks like it has its twin right bellow. If you move the form, this effect disappears. The form is my colleague's form. However, one of my own quite simple form exibits similar behavior. That behavior only shows itself if I move
>toolbar to a different place. In this case one of the label near the bottom of my form is repeated twice.
>
>When I added thisform.Draw in cntBillinUB.Activate() it solved this problem for me. Hovewer, my colleague told me, it didn't work for him.
>

Obviously a lot going on (usually is when something like this occurs<g>) so can't suggest anything specific.
So the labels that are duplicating are not contained in any page of the pageframe but are in a container below the pageframe. And the duplication appears on the vertical axis (horizontally they are OK). Presumably it is happening to ALL labels in the container? So the usual sort of questions: Any code that changes the height of the form or the top position of the container? Any .Draw() that might be relevant? Is the container transparent? Can you compare the code prior to this behaviour with the current code? What happens if you temporarily add another container with a label alongside the one showing the oddness - does it behave in the same way ?

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform