delphigamedev.com Skip to page content

showing you how to make games with delphi since noah was a boy

wots the source code for user chooses file to open

Archive of posts made in the 'All Other' section of the old forums.

Moderator: Ferasso

wots the source code for user chooses file to open

Postby Ferasso » Sun Feb 06, 2005 4:21 pm

Dayjo Aspen @ 8/16/03 9:42 pm
wots the source code for user chooses file to open? like when u go to file open


Ferasso @ 8/17/03 12:03 am
Open delphi
Go to the 'Dialogs' tab
Put a TOpenDialog component in the form (the first from left to right)
Also add a TButton and a TLabel
The button procedure:
If OpenDialog1.Execute then // OpenDialog1.Execute call the dialog
Label1.Caption:=OpenDialog1.FileName; //OpenDialog1.Filename contains the path for the file.
When you are old (and wise) enough to read these words, their meaning will unfold.
User avatar
Ferasso
 
Posts: 288
Joined: Fri Nov 12, 2004 2:35 am
Location: Brasil

Return to All Other

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Subscribe to the feed delphigamedev.com NEWS Feed
archived news | mailing list

[ all tutorials found at delphigamedev.com are Copyright © 2008 Ben Watt ]