Drop down boxes in Q/Quickbasic

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
greysmiths
Newbie
Posts: 3
Joined: Tue Sep 25, 2012 9:55 pm

Drop down boxes in Q/Quickbasic

Post by greysmiths »

I have just started to learn Q/Quickbasic (2 months) as a retirement hobby to keep me and my mind active and I as curious ---- is it possible to program dropdown boxes in qbasic.
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

It's possible to do a lot of things. You can use LINE in a graphics screen to make the box and PRINT text into it. You can use ABSOLUTE to use the mouse.

You can use QB64 to compile BAS code for newer computers where QB won't work. It uses its own mouse functions however.
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
greysmiths
Newbie
Posts: 3
Joined: Tue Sep 25, 2012 9:55 pm

Post by greysmiths »

Thanks. I will look up ASSOLUTE to see what it does.

One further question in my qbasic programs so far I have to select say a number or a letter to get the response I need ----- how do I get the required respond using a mouse.

I am looking forward to seeing what I can do and having fun in my older years finding out.

Once again thanks
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

No problem.


http://qb64.net/wiki/index.php?title=MOUSEINPUT


Use the link in my signature to download QB64 or go to our forum.
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
greysmiths
Newbie
Posts: 3
Joined: Tue Sep 25, 2012 9:55 pm

Post by greysmiths »

Thanks burger2227---if I ever get to be in your part of the world I buy you a coffee.
Post Reply