Shrink resolution screen

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Shrink resolution screen

Post by Sinuvoid »

Ok, example screen 13. You know how it fills up teh WHOLE screen? Well is there a way to shrink it to a window?
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

Look up WINDOW in the QB help.
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

Thanks man :D
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

It gives me an Illegal Function call error. And I dont know what could be causing it. And when it DOES work, it does nothing.

heres my code...

Code: Select all

CLS
SCREEN 13
WINDOW (1,1)-(50,50)
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

WINDOW?

Post by burger2227 »

Once you go to full screen mode, you cannot minimize unless you change to SCREEN 0 and use the minimize window QB shortcut keys.

WINDOW is for a viewport area.

Still King!

Ted
Last edited by burger2227 on Thu Jan 10, 2008 8:16 pm, edited 1 time in total.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

Ok, so I guess Im screwed :P thanks burger. :)
Post Reply