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:
00309233
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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform