Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WAIT WINDOW position?

Status
Not open for further replies.

DJVisuaL

Programmer
May 31, 2000
52
US
How can I make a wait window be in the exact center of the screen? the language reference refers to WAIT WINDOW AT nRow, nColumn but I have tryed several numbers and they dont seem to corespond to pixels or anything I can think of. I also tryed -1,-1 to no avail. If I do play around with it and find what looks like the center on my screen will it stay that way for all resolutions? Somehow I don't think it will. Any help is appreciated! I use VFP6.0 thanks
 
HI
WAIT WINDOW cMessage AT nRow, nCol
This is the row and column as in FP2.6 Days..
For example..

myRows = SROWS()/2
myCols = SCOLS()/2

WAIT WINDOW "I am now at "+ALLT(STR(myRows))+"," ;
+ALLT(STR(myCols)) AT myRows,myCols

This will work :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top