Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wait Window Positioning
Message
De
29/07/1999 12:49:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00247751
Message ID:
00247767
Vues:
26
>Is there a way to center a wait window for any screen resolution? As far as I can see the window positioning system is based on columns?!?!? Ick, someone have a suggestion/trick?:)

My guess is you'd have to mess around with SYSMETRIC() and FONTMETRIC() to find the center of the screen and figure out the width/height of the message you're going to display to get something that looks right.

MESSAGEBOX() displays centered by default - however, it requires a response and does not interact with other windows in quite the same way as WAIT WINDOW, making it less useful for debugging or "Please wait..." messages.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform