Delphi 7 – Embedded file open dialog in a form

delphidelphi-7opendialogtopendialog

Does anyone know if it is possible to embed a file open dialog inside your own form?

We have a tabbed dialog and on one of the tabs we want the user to be able to browse for a file with the same functionality as the the standard open dialog e.g. 'Look in' combobox, places bar, shell file list, file name comboedit with name completion etc etc.

I've looked at recreating the dialog with some 3rd party components, namely Jam Shell Browser Components

I can get most of the functionality this way, but I'm missing a couple of things e.g. the places bar and the filename auto completion\suggestion

Best Answer

I don't want to say it's impossible but considering the amount of ugly winapi hacks you'd probably involve I suggest "recreating the dialog with some 3rd party components" but with VirtualShellTools.
VirtualShellTools can be downloaded from this SVN archive.
And here's the google code project page.

(At least it has the filename autocompletion combobox though i am not sure if it has the places bar). Hope it helps.

Related Topic