Active Forums => QB64 Discussion => Topic started by: AuleMar on August 03, 2020, 02:36:01 pm
Title: Sizing screen for graphics
Post by: AuleMar on August 03, 2020, 02:36:01 pm
New user to QB64, I searched the forum but haven't found What I'm looking for. I did find how to change screen size for text and that has worked. But, when a graphic object is drawn the screen (window) snaps back to the original tiny size. What I am doing Is simple graphics, Just a line drawings of an objects finite element grid. I use it to verify the grid prior to using it in a FORTRAN code. Is there a way to size the screen for graphics. PS; New user but retired engineer, trying to teach the grand-kids real world problems using there 64 bit gaming computers. Thanks..
Title: Re: Sizing screen for graphics
Post by: bplus on August 03, 2020, 02:44:33 pm
Welcome AuleMar!
Many screen modes but this is modern way to start:
Title: Re: Sizing screen for graphics
Post by: AuleMar on August 03, 2020, 03:10:32 pm
Thanks for the quick response, Your TV program ran perfect. But using you code snippets in mine, and it jumped back to the tiny screen again. I need to run through the code to see if I do anything in it to reset the screen. last time I ran the code was in 1987. Its actually amazing that that is the only problem I'm having. I pulled the programs and data off very old Floppies.
Again thanks.
Title: Re: Sizing screen for graphics
Post by: AuleMar on August 03, 2020, 03:21:53 pm
Found the culprit it was hiding down in the code (CLS: SCREEN 2, 0, 0) that would snap the screen into tiny mode. Looks like everything is good now, Thanks
Title: Re: Sizing screen for graphics
Post by: bplus on August 03, 2020, 04:10:54 pm
Good you found the culprit.
I recommend bookmarking this in your browser: https://www.qb64.org/wiki/Main_Page
You can lookup Keywords Alphabetically AND by usage (categories), usage is very handy if you don't know the name of the Keyword but only have general idea what you want to do. You can do the same from IDE Menu Help (top all the way to right) but On-line the words are hyperlinked slightly easier to access.