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.

Newcomers DBPro Corner / Dialog Box????

Author
Message
Ascended Ancient
16
Years of Service
User Offline
Joined: 2nd Jun 2008
Location: Ascended Plane
Posted: 2nd Jun 2008 23:44
I'm trying to create a music player using DarkBASIC Pro, I haven't even started it yet, but I pretty much have the idea on how to do it, exept for creating a dialog box to browse through the system directory and load, say a .mp3 file

Anyone have any ideas on how this can be done?

The Knowledge And Understanding Of The Infinite Universe
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Jun 2008 12:07 Edited at: 3rd Jun 2008 13:52
This might be what your look for.

http://forum.thegamecreators.com/?m=forum_view&t=126283&b=6

it can give to a list of items to click on, you will have to work out how to change from load a list of items to load a list of the file dirctory, I think it will work if some bit are knocked out.

even if not it should give you some idea on which way to go.

ps. background image change to something you have.
edit
if the above is to hard to follow then this might get you started

bits taken from the help files on perform checklist for files and checklist quantity() commands.

link
http://forum.thegamecreators.com/?m=forum_view&t=105047&b=1

Dark Physics makes any hot drink go cold.
Ascended Ancient
16
Years of Service
User Offline
Joined: 2nd Jun 2008
Location: Ascended Plane
Posted: 3rd Jun 2008 21:36
I wanted to make my program open a file like a windows program, (ctrl+O or File→Open, and a dialog box pops out and lets you browse and select the file you want to open)
But I guess it can only be done with the Blue GUI which I don't have yet =(

But that's an awesome code you and Phaelax created, I could definitely use that instead.

Thanks for the help ^_^

The Knowledge And Understanding Of The Infinite Universe

Login to post a reply

Server time is: 2024-11-25 23:35:26
Your offset time is: 2024-11-25 23:35:26