• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

Delphi: Initial foldername when browsing for a folder

I have found the answer to my question on how to browse for a folder in Delphi/Windows API (see: http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20267846.html) but I would like to know how to set the default folder BEFORE calling the browse dialog, so that when the dialog box appears, it will default to a given path. I don't want to restrict the users' path, but just be ready and waiting at a place he expects to be.
0
ClassPublishing
Asked:
ClassPublishing
1 Solution
 
MerijnBSr. Software EngineerCommented:
did you ever thought about using SelectDirectory() instead of BrowseForFolder() ?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now