Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Screen Menu Bar?

Author
Message
Defrag
20
Years of Service
User Offline
Joined: 24th Jan 2005
Location: Warner, OK.
Posted: 7th Apr 2005 04:52
Is it possible to make a Screen Menu Bar at the top of a program, like a normal windows app.? And how difficult would that be. I have seen BlueGUI and it looks like that'll do it, but that is for DBPro only right?
Where should i start?

Thanks,
Chad

http://www.dfpc.org
http://www.dfpc.rite2u.com
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 7th Apr 2005 16:50
Defrag,

If you have freely updated DarkBasic to, I believe it is version 1.13, then there truly is no need to re-create a Windows format screen. This is because version 1.13 gives you access to commands which allow you to run your DarkBasic program in a window, instead of the original console screen.

However, if you insist on building your skills in this area, I have a few methods. These methods are not necessarily good to use, though. First, you can code the graphics in, without using any media. Do this by making use of the 'Basic 2D' and 'Text' commands within DarkBasic. These commands include Box, Line, and multiple text printing and string manipulations.

Secondly, you can create images as your GUI. You can either paste them to the screen, or you have the choice of creating sprites. Or, of course a mixture of the 'Basic 2D' commands and images/sprites works well.

I have included in this post an attachment of a folder that includes source code and a few images of which I used to begin a GUI experiment. There is not much to it, as I quit the experimentation a while back to study a more important subject. Feel free to use the code and media freely.

+NanoBrain+

Attachments

Login to view attachments
Defrag
20
Years of Service
User Offline
Joined: 24th Jan 2005
Location: Warner, OK.
Posted: 12th Apr 2005 07:52
Awesome. Thats what i'm looking to do. Just making sure it can be done.

http://www.dfpc.org
http://www.dfpc.rite2u.com

Login to post a reply

Server time is: 2025-05-23 08:20:17
Your offset time is: 2025-05-23 08:20:17