0
votes
Vote UpVote

Showing the folder dialog in Delphi

Random thoughts on coding – Some time ago, I published one post showing the way we can open the folder dialog with Delphi. But this snippet of code doesn't work for Delphi 2010. Then, I found this little code that allows you to open the folder dialog with no problems.unit folderDialog;interfaceuses SysUtils, ShlObj, Windows, ActiveX, Forms;function GetFolderDialog2(const ACaption: string; out ADirectory: string): boolean;function BrowseForFolder: string;implementationfunction BrowseForFolder: string;begin GetFolderDialog('Add directory:', Result);end;function GetFolderDialog(const ACaption: string; out ADirectory: ...
Favorite? Off-Topic? Jordi Coll Corbilla @ 2010-03-14 17:59

Statistics

Visits: 55
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)