Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange display effect
Message
 
 
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:
01051605
Views:
9
>Hi,
>
>Doesn't seem to me that this thread is heading in the right direction. If the problem appeared after a program change I'd try to find the source of the problem there. If 75% of your display devices are exhibiting the behaviour then it doesn't bode well if the app is destined for any sizeable deployment...
>
>But it's not clear from your description what you are actually seeing. How do you 'swtich between different containers'? When you say 'each label displays itself twice' do you mean it repaints twice in the same position or that it displays in two different positions (presumably the latter)? Is it occurring only on specific containers/pageframes? Is it only labels that are affected ? Is there 'bleed' between pageframes? etc.,etc.?
>
>Regards,
>Viv

Viv,

Thanks a lot for trying to turn this thread to stick with the original problem <g> Let me try to better describe the effect I'm seeing.

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.

I'm not sure, how can we solve this display effect and what may cause it. However, I've seen weird visual effects in my previous job as well. In my DataEntry application sometimes some controls from other pages bleed. Anyway, that's a different story...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform