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