Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pickup _screen windowstate change?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00085679
Message ID:
00085969
Vues:
28
>You're absolutely right. Bad testing on my part. I updated a label in the paint event, which, of course, caused paint to fire again, ad infinitum. Interestingly enough. If you resize a form and make it smaller, paint doesn't fire, but if you make it larger, it does. Further, it doesn't fire if you move the form.

I guess there's only a need to repaint when there's an increase in size?

>However, it does still leaves open the problem. Unfortunately, it doesn't appear as if any of the events fire when the _SCREEN is resized. It would seem that the only way to handle the problem is to add a timer to the form.

Or you can use top-level, where events do fire...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform