I am trying to create an open dialog (in Windows 7) where the user is confined to the initial directory. On the open dialog I have set the optionsEX to [ofExNoPlacesBar] and that removes the bar that would let them select folders and directories to go to quickly but the user can use the bread crumb address tool to go up a level and type a different directory into the filename text box to change directories.
Thank you
If you are using Delphi 2009+, there is a
TFileOpenDialog. Use this, and setwhere
(Notice that there should be exactly one
FInitiatedperTFileOpenDialog. So, ifFileOpenDialogis a private member ofTForm3, letFInitiatedbe a private member ofTForm3as well.)To improve the user experience, you will probably use
or