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 / Run DB in a window

Author
Message
Code eater
17
Years of Service
User Offline
Joined: 17th Feb 2008
Location: Behind You!
Posted: 16th Mar 2008 21:11
can you run DBC in a window like DBP. I guess you can as you can write programs in a window.

if so how?
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 16th Mar 2008 21:47
Get the Dark Edit editor. As far as I know it's available on the DBC CD.

Fight the good fight of faith,
Lay hold on Eternal Life.
-1 Timothy 6:12-
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 16th Mar 2008 21:51 Edited at: 16th Mar 2008 21:52
TDK also made a program called DarkIDE. you can get that, too.

Seriously, how do you make the little blue text come up below your message?
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 17th Mar 2008 22:54
@Code eater

It depends on what you mean by "run DBC in a window."
If you are talking about the application or game you make with DBC, you can use the various window commands inside your program:

SET WINDOW ON
SET WINDOW SIZE
etc.

If you are talking about the built in editor, well inside the folder where DB.exe lives, there should be a file named setup.ini.

If you open that file, you will see a heading called [SETTINGS]. Below that wil be a list of options, one of which is windowmode=0. Set that to windowmode=1. That should run do it. However, it will be run in a bordered window. You can still use F8 to minimize it. This is an excerpt from the ini file:



There are another series of options in the ini under [STARTUP]. These control how your exe will be run if you ship the ini with your compiled program. Setting window=1 will run your exe in windowed mode.



Enjoy your day.

Login to post a reply

Server time is: 2025-06-04 03:23:28
Your offset time is: 2025-06-04 03:23:28