Qbasicnews.com
October 22, 2020, 08:49:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: graphics question  (Read 1995 times)
adefeo
New Member

Posts: 1


« on: January 06, 2004, 05:59:52 PM »

ok so i've been programming in qbasic for a while, and am pleased with it's features.  now i've heard that you can write a GUI with mouse and icons and buttons.  is this true.  if so how, or where can i get a tutorial.   :Huh:
Logged
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #1 on: January 06, 2004, 10:47:00 PM »

That is a whole can of worms.

Haven't seen any complete GUI tutorials myself (prolly no good ones for any language, not just QB..), but there are plenty of mouse tutorials and examples. And GUI examples.. check out the qbasicnews.com links...... and news.....

Mouse...... well... it's easily doable with lots of today's DOS libraries, especially UGL (UncompatibleGameLibrary...)

Also you can do some interrupt stuff if you load up the qb library (use "/l qb" I think? or "/l qbl"?)... there are some examples on the net... use google.com... or wait for a response.....

Also found one mouse lib that I never tried before in the the forum (with the search function).. : http://forum.qbasicnews.com/viewtopic.php?t=4555&highlight=mouse
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Zack
*/-\*
*****
Posts: 3974



WWW
« Reply #2 on: January 06, 2004, 11:15:44 PM »

You know, with a tiny bit of assembly knowledge, you can use the mouse.
If I were ever to make a GUI, this is what I would do:
1) Read Vic Luce's tutorial on how to use the Mouse in QB (you can get it on Qbasicnews.com).
2) Learn the QB graphics functions inside-out
3) Have a good understanding of background-restoring
It's a semi-advanced thing.  I've never done it, and I don't plan to, either, because: What's the point? Smiley
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
mikkeey123
New Member

Posts: 10


WWW
« Reply #3 on: January 07, 2004, 12:05:12 AM »

A GUI Tutorial for QBasic can also be found at http://members.aol.com/nickjc67/ . Hope that will help you out a little bit.
Logged

If you can't dazzle them with brilliance, baffle them with bull shit"
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #4 on: January 07, 2004, 12:49:48 AM »

I read through the first part. Looks like a good beginning, although I was thinking more along the real basics first... construction of the objects and the how/why behind them. Nevertheless, I learned lots of programming by (among other things) constantly modifiying and "enhancing" spaghetti code programs. Smiley

PS: Might want to think about changing that nick..
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!