Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1515
  • Last Modified:

Select Directory and TSelectDirExtOpts

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?

Regards,
Jacek
0
JacekH
Asked:
JacekH
  • 2
1 Solution
 
geobulCommented:
Hi,

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
0
 
JacekHAuthor Commented:
You're right. I forgot about it ;-) Thank you.

Regards,
Jacek
0
 
geobulCommented:
The pleasure was mine. Thanks for the points :-)
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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