Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wait Window Positioning
Message
From
29/07/1999 12:49:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00247751
Message ID:
00247767
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform