TOpenDialog properties

gtbikeuk
gtbikeuk used Ask the Experts™
on
Hello,

In my application I need to use a TOpendialog object to allow users to remove and create directories.  The dialog box works fine, except that I need to restrict the user from going into the parent directory (my thought is to disable the 'up one directory' button, but I don't know how to do this.  Any ideas?

cheers
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Hi,

Use in the OpenDialog Options then ofNoChangeDir Flag. That will work.

Author

Commented:
spot on.  cheers

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial