Qbasicnews.com

Full Version: A couple questions about FB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there an option to automatically capatalize keywords? That's a preference of mine when I program in freebasic.

Also, is there a way to double the size of the graphics window? So instead of having to go full screen to see the detail in 320X200 mode, I can just enlarge it 2X and still be in window mode.

If not then I think these would be good features to add to FB.
There are a number of editors designed for FB, the most popular being FBIde, which doesn't have QB-style auto-caps for keywords.

As for screen size, the screenres command switches to graphics mode with set width and height, among other things.
Code:
Screenres width, height[,[ depth][,[ num_pages][,[flags][,[refresh_rate]]]]]
http://www.freebasic.net/wiki/wikka.php?...gScreenres
Thanks. I don't mean just setting the resolution; I want window mode, but 320X200 is too small for my resolution (1400X1050). I'd like to enlarge the window, but without going to full screen. I could make the graphics mode 640X400 and double the sprite size to accomplish this, but I was wondering if there is a simpler way.
Quote:I could make the graphics mode 640X400 and double the sprite size to accomplish this, but I was wondering if there is a simpler way.
I don't know of any compiler's default graphics lib that allows this...The best thing to do would just use a lib lib YAGL and do the stretch/skewing through that.

You could also look at the FB source and code your own routines lol Tongue
Jellyfish Pro, which I use has many good options including auto capitalize.

Available here: http://www.planetsquires.com/jellyfishpro_freebasic.htm

Anonymous

Yeah, I use JFish too, it's great. (shhhh don't tell anyone!)
I use Notepad, it's great. (Don't tell anyone!)
There is only one true editor, and it's name in edlin!

And yes, it's still there, even in XP.

Scary, I know.