Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving MESSAGEBOX form erases data on form behind it
Message
 
To
30/04/2004 10:44:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00899719
Message ID:
00899776
Views:
23
Yeah, the "dragging" is what you see with lockscreen=.f.
Is your form affected by any WinAPI functions altering its appearance or other properties?
What version of Windows? Is it WTS?

>In testing when I set lockscreen to .T. on the background form to see if it caused it to occur on other forms, what happens is the messagebox form image is drawn all over the form in the background when you drag the messagebox form around but it doesn't erase the form in the background. On this form, it is the erasing it (it becomes blank everywhere the messagebox is dragged to but the messagebox image does not get left there) in the background that is strange. I don't get the messagebox image dragged all over it at all...
>
>>It means that Form.Lockscreen = .T. while the msgbox is displaying, which prevents the Form from repainting. Make sure that Form.Lockscreen is .F. before displaying the messagebox().
>>
>>
>>>In only some cases if I create a popup messagebox() form and when it is displayed, move it around the screen, it will effectively 'erase' the form behind it. It does not happen in all cases and I can see no 'activate screen' or other command that may have an effect on this. What else can cause this?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform