AllExperts > Experts 
Search      

Qbasic, Quickbasic

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Qbasic, Quickbasic Answers
Question Library

Ask a question about Qbasic, Quickbasic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Don Schullian
Expertise
I`ve worked in BASIC since the Commodore days and maintain a web site part of which is devoted to helping others with thier problems. I`m proficient in all versions of PowerBASIC but cross over to QuickBASIC and Qbasic frequently.

 
   

You are here:  Experts > Computing/Technology > Basic > Qbasic, Quickbasic > pop up menu in Qbasic

Topic: Qbasic, Quickbasic



Expert: Don Schullian
Date: 7/18/2008
Subject: pop up menu in Qbasic

Question
I am a physician and i am writting a program in qbasic to  I want to create an interface using pop up menus and the mouse.
Thank you , expert!

Answer
Hi Doc,

 First of all you've chosen a difficult language to accomplish this in as Qbasic doesn't play well with interrupts and ASM code which is needed to get the mouse working in DOS. Plus, if you're going to do anything with patients' records then you're going to have a whale of a time securing the data from prying eyes. Lastly, DOS is (regrettably) on its way out. Vista doesn't like it and MS7 is on the way. But....

 Pop-up windows are fairly easy in DOS as all you need do is capture the portion of the screen where the pop-up will go, do the pop-up, then replace the data under it. This can be done in several ways using different tools. You can access the screen in memory using ASM code, you can switch pages, or some other more difficult measures.

 If you're working in text mode I've got some code on my web page that will show you how to copy data from one page to the other. www.dasoftvss.com go to the BASIC page then down at the bottom of the list under [DOS] Page Copy. This should get you started.

 Let me know if you need anything else.

View Follow-Ups    Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.