I need help writing a programby Zack (no login) Hi, I have a few questions about how to program in QB64. Any help will be appreciated. Firstly, I am trying to figure out how to make the program wait for a mouse click, and set parameters so that if you click within them it will do something, but if you click in a different set of parameters it will do something else kinda like a CASE command except not with numbers. Pretty much I'm trying to make some buttons appear and depending on which one you click, it will take you to a different part of the program. If this is possible in QB64, then I would greatly appreciate an explanation as to how to do it. Secondly, I was wondering if there is a way to add like a background to the program. Is there a way to have like the background blue and then a box that is grey with text in that. And is there a way to put a picture at a certain point, for example, something to cover the button things. Thirdly, is there any way to have music play constantly in the background while the program is running? I tried to use the PLAY command, but it was very limited and it waited until it was done playing to do anything else. Fourthly, is there any way to add a scrolly bar thing on the side or a menu bar at the top? Like if there is a large paragraph and it doesn't fit in the allotted box space, it just cuts some off, is there a way to use a scrolly bar thing to be able to view all the information? And a menu bar so you can click on it and say restart or quit at any time. Fifthly, is there a way to actually embed pictures and music into a program? So rather than opening another file, can it pull the data directly from itself and the either display the picture or play the music? Lastly, How do you write something to a file to save information after the program closes. I know there was a way to do this but I forgot the command. For example you asked it your name and then next time you opened the program it would say hi :'Your name'. Some of this stuff probably isn't possible, but I am just trying to make a database-like program, and am trying to expand it in any way I can. If any of these things are possible and you know how to do them than could you please leave me a short explanation on how to. Again thank you for any help and I greatly appreciate it. |
| Response Title | Author and Date |
| Do you know how to do anything? | on Nov 23 |
| Thank you | Zack on Nov 23 |
| Can I have some sample code please? | Zack on Nov 24 |
| There are several things required for a button press to work... | on Nov 24 |
| Re: I need help writing a program | on Nov 23 |
| also a begginer | on Nov 23 |
| Save that to a file | on Nov 24 |