Window Screen Command?

General FreeBASIC programming questions.
Post Reply
xbgtc
Posts: 250
Joined: Oct 14, 2007 5:40
Location: Australia

Window Screen Command?

Post by xbgtc »

Hi, I've tried to use this command but doesn't seem to work.
What is it meant to do?
I assumed (from FB help) that in your say 1440x900 graphics screen i can use WINDOW SCREEN (320,150)-(1120,750) to get an 800x600 screen so the program written for a 800x600 screen now runs as normal but centrally in your bigger screen.

The program runs but text still prints at 0,0 and images start in the negative hence you only see about a 1/4 of them like they are put at -200,-150.

Any idea what's wrong or what i should be doing instead?
fxm
Moderator
Posts: 12145
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Window Screen Command?

Post by fxm »

Instead of 'WINDOW SCREEN .....', use 'VIEW SCREEN .....' instead.
But no solution for 'PRINT' which is not a graphic instruction. Use 'DRAW STRING' instead.
Post Reply