Select Directory and TSelectDirExtOpts

Posted on 2005-02-28
Medium Priority
Last Modified: 2008-01-09
From my Delphi 2005 Pro help:

[Delphi] function SelectDirectory(var Directory: string, Options: TSelectDirOpts, HelpCtx: Integer): Boolean;
[Delphi] function SelectDirectory(const Caption: string, const Root: WideString, var Directory: string, Options: TSelectDirExtOpts, Parent: TWinControl): Boolean;

Use the second syntax to call the Select Directory dialog box. The directory passed to the function with the Directory parameter appears as the currently selected directory when the dialog box appears. The name of the directory the user selects becomes the value of Directory when the function returns.
The HelpCtx parameter is the help context ID number.
The Options parameter is a set of values. If Options is the empty set, the user can only select a directory that already exists. No edit box is provided for the user to enter a new directory name. If Options is not empty, the included values determine how the dialog responds when the user types a nonexistent directory name

I'm interested in the second syntax but cannot find TSelectDirExtOpts description. Nothing more in Delphi/SDK help, Google, NG, BDN etc.  

Could you help me?

Question by:JacekH
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 17

Accepted Solution

geobul earned 400 total points
ID: 13427187

I don't have D2005 at hand but you could open FileCtrl.pas source file (hope it is there) and find TSelectDirExtOpt (or TSelectDirExtOpts) type and see all available options. Their names are usually understandable.

Regards, Geo

Author Comment

ID: 13427303
You're right. I forgot about it ;-) Thank you.

LVL 17

Expert Comment

ID: 13428273
The pleasure was mine. Thanks for the points :-)

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question