Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving MESSAGEBOX form erases data on form behind it
Message
De
30/04/2004 17:42:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00899719
Message ID:
00899943
Vues:
34
Thanks for responding Nadya. It has been quite some time! How is everything? Are you enjoying Ohio?


>Hi Tracy,
>
>I've seen this effect on some of my forms too. I think, it happens when the long process is running with DoEvents, but I am not positive. I also saw, that wait window doesn't want to disappear despite wait clear... I don't think, I was able to completely get rid of the problem...
>
>>We are seeing this effect in Windows 2000 and Windows XP so far. Haven't tested it on previous versions yet. Only on desktops, no WTS yet of this version. We don't use the API at all for this form. In fact, I have stepped through the properties and methods and cannot see anything unusual yet...
>>
>>
>>>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?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform