Delphi 7-表单中的嵌入式文件打开对话框 [英] Delphi 7 - Embedded file open dialog in a form

查看:133
本文介绍了Delphi 7-表单中的嵌入式文件打开对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道是否可以在自己的表单中嵌入文件打开对话框吗?

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.

我研究过使用一些第三方组件重新创建对话框,即 Jam Shell浏览器组件

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

推荐答案

我不想说这是不可能的,但考虑到您可能会涉及的丑陋winapi骇客,我建议用某些第三者组件重新创建对话框,但具有 VirtualShellTools .
可以从此SVN归档文件.
还有这是Google代码项目页.

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.

这篇关于Delphi 7-表单中的嵌入式文件打开对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆