Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wait window and systray question
Message
 
To
19/05/2004 01:22:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00905164
Message ID:
00907077
Views:
14
Evelyn,

You can put the wait window anywhere ... This is from my notes on VFP
****************
Screen Size Stuff:
Sysmetric(1) -> width of screen in pixels
Sysmetric(2) -> Height of Screen in pixels
FontMetric(1) -> Height of characters in pixels
FontMetric(6) -> Average width of characters in pixels
****************
Putting the top left corner in the center of the screen...
Wait "Please Wait..." window at (sysmetric(2)/fontmetric(1))/2,;
(sysmetric(1)/fontmetric(6))/2
And to approximately center it, subtract half the size of the window...
Wait "Loading..." window at ((sysmetric(2)/fontmetric(1))/2) - 2,;
((sysmetric(1)/fontmetric(6))/2) - 8 nowait noclear

I am sure that you can play with this to put it just above the task bar.

HTH
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Previous
Reply
Map
View

Click here to load this message in the networking platform