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 / popup box?

Author
Message
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 4th Apr 2003 19:11
i'd like to be able to make a box come up when a button is pressed in my program, so the user would be able to navigate through there c drive and find a picture file they wanted to use. i don't know how this is done so could someone give me a hand??
thanks
'You were born crying while people around you smiled'
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 4th Apr 2003 23:30
For the box, use a sprite. If mouseclick (coords)=1 then show sprite x

RPGamer

Current - RPG: Eternal Destiny
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 5th Apr 2003 10:27
but how do i display the files they want to load on the sprite

'You were born crying while people around you smiled'
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 5th Apr 2003 16:35
I made a simple Windows Edxplorere snipet ages ago using the text command and some images - I'll try and find it.

If you want a standard windows box, then I have a dll that wil do what you want.

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 5th Apr 2003 16:37
http://www.darkbasicpro.com/apollo/view.php?t=4118&b=6 is the link to my snippet.

Basically, use the perform checklist for files comand to build a list of files, then run a loop through this list and print out the results.

pseudo-code:

perform checklist for files

for i = 1 to number of items
print checklist string$(i)
next i

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....
Steverino
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 5th Apr 2003 19:07
There's a Windows file requester here:
http://www.darkbasicpro.com/apollo/view.php?t=4727&b=6

I used it in Lip Sync Lab to load WAVs and save text files, and it works great.

____________________________________________
Surrealist writing toy -- http://www.iconpoet.com

Login to post a reply

Server time is: 2024-09-20 03:59:37
Your offset time is: 2024-09-20 03:59:37