Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I tie into the _screen.Resize Event?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00309210
Message ID:
00309441
Vues:
24
>>Hi All,
>>
>>I have a few controls directly directly on _screen. When the _screen gets resized, I want to go around and adjust the positions and sizes of my controls. How could I go about doing this? I can't seem to find a decient way to alter _screen events.
>>
>
>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.


Thanks for all your quick responses.

The top-level form will work great. I will keep that in mind for the next application. This one is pretty far along, and I think that the timer is just the trick.

Thanks.
If they have you asking the wrong questions,
they don't have to worry about the answers.
-proverbs for paranoids #3
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform