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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1/2 Screen size in full window in XP

Status
Not open for further replies.

galtjunk

Programmer
Jul 2, 1999
5
US
TP7 runs fine in a full window under XP. When I compile and run the program it shows a full screen but everything is placed in the upper half of the screen. Is there some way to change this?
 
You can try running TP by:

Run => command => (a prompt appears) => run TP from here.

Regards


Jakob

 
you could also try using the line
window(x, y);
i think that that is the correct command, were x and y are integers, thefore altering the screen size, that may work, im not certain though
 
you might want to execute your program from a dos batch file
like this:

test.bat
----------------
@mode con cols=80 lines=25
@myprog.exe
----------------

I am not sure if this remains when myprog.exe runs, if not try the mode() from `crt' with the appropriate textmode param

petmakris at gmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top