Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I tie into the _screen.Resize Event?
Message
De
28/12/1999 18:38:50
 
 
À
28/12/1999 11:54:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00309210
Message ID:
00309600
Vues:
28
>You can't hook the _Screen events directly. You would be better off using a Top-Level form in place of _Screen, use a Form class with the necessary code, and then have all other forms run as In Top-Level Form. The common workaround is to use a timer to check to see if resizing has occurred and deal with it if you find it's changed.


Only indirectly the same subject here- my base form class is set to run "in top-level-form", and I don't have to change it even if the app uses _SCREEN (most of my apps do). Forms set to run in _SCREEN won't show in a top level form, but forms set to run in Top-Level-Form show in both _SCREEN and top-level form. I don't even see why there are 3 settings- one is stupid- it gets you nothing but restrictions, and costs nothing.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform