Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can't believe I'm asking this....
Message
De
30/04/1999 20:28:07
 
 
À
30/04/1999 00:59:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213782
Message ID:
00214176
Vues:
20
>I've redefined the dimensions of my main app window to 400x228 (heightxwidth). I need to center the app in the users window.
>Because this is the main foxpro window the autocenter property is not available.
>
>Please help my tired brain remember the trick to solving this problem.
>
>TIA
>
>Brad

Try this:

_SCREEN.Left = (SYSMETRIC(21)/2) - (_Screen.Width/2)
_SCREEN.Top = (SYSMETRIC(22)/2) - (_Screen.Height/2)
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform