There is also an overloaded version that uses the new UI. New UI as in
Windows 2000 I think.
On 9/5/07, Steve Peacocke <[EMAIL PROTECTED]> wrote:
> Someone here (Rohit?) was grumbling (sorry, "explaining") that Delphi
> 2007 doesn't have a Dialog for selecting a directory.
>
> I found one this morning. Use FileCtrl in your uses clause and state...
>
> if SelectDirectory('Select a directory', 'C:\', Dir) then
> ShowMessage('Directory = ' + Dir);
>
> Voila. A directory selection dialog.
>
> Steve
>
> --
> Steve Peacocke
> http://stevepeacocke.blogspot.com/
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: [email protected]
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe