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:
00085689
Vues:
30
>I want to reposition forms from top/left to center based on whether _screen is normal or maximized. Is there a (hopefully easy) way to do this?

There is no natural way because _SCREEN doesn't have events. One more solution is timer to check _SCREEN.Left,Width and so on. Another way is to disable(remove) real _SCREEN buttons (e.g. _SCREEN.Maxbutton=.f.) and provide toolbar or even separate buttons imitating regular ones. Now you have Button.Click events.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform