Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2006, 05:30 AM
kate kate is offline
Senior Member
 
Join Date: Feb 2001
Posts: 356
Default Browse For Folder Dialog

Hi,
I need a Browse for Folder Dialog to be used in my application. I also need an option for my user to make a new folder if it does not exists. This is an extra button (New Folder) that can be seen in many sharewares in the market.

I need your expert guidance as where to get a good and stable Browse For Folder Dialog as source code or component.

Thank you all in advance!

Kate.
Reply With Quote
  #2  
Old 12-04-2006, 05:54 AM
digitiger digitiger is offline
Senior Member
 
Join Date: Jan 2001
Posts: 716
Default RE: Browse For Folder Dialog

The following can help you

http://www.torry.net/authorsmore.php?id=185

Hope it helps and if it does then do accept the answer
Reply With Quote
  #3  
Old 12-04-2006, 06:15 AM
modernsavage modernsavage is offline
Senior Member
 
Join Date: Sep 2004
Posts: 120
Default RE: Browse For Folder Dialog

The following code allows you to select a folder and create.

const
SELDIRHELP = 1000;
var
Dir: string;
begin
Dir := 'C:\';
if SelectDirectory(Dir, [sdAllowCreate, sdPerformCreate, sdPrompt],SELDIRHELP) then
Label1.Caption := Dir;
end;

Freeware utilities
Reply With Quote
  #4  
Old 12-04-2006, 11:06 PM
mshkolnik mshkolnik is offline
Senior Member
 
Join Date: Jul 2001
Posts: 4,195
Default RE: Browse For Folder Dialog

I posted the sample code as tip:

Delphi tip#157: select folder dialog
http://www.scalabium.com/faq/dct0157.htm


With best regards, Mike Shkolnik
http://www.scalabium.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 02:52 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.