Win3.1调色板中的控件更新 [英] Updates for controls in Win3.1 palette

查看:133
本文介绍了Win3.1调色板中的控件更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有些人说我必须更新Win3.1调色板(特别是TFilterComboBox)中的控件与现代控件。但是Delphi是否提供了这样的新控件?



我需要创建一个GUI(以某种方式类似于Windows资源管理器,包括DirectoryListBox,FileListBox和FilterComboBox),我允许用户可以轻松浏览特定类型的文件。由于界面以这个Explorer为中心,所以一个TOpenDialog就像在他的脑袋里用锤子打客户。我需要一个易于使用的解决方案。



不幸的是,Shell控件不够稳定,不能用作替换。

解决方案

在我们的应用程序中,我们使用 tpShellShock ,它工作得很好。您可能需要对Unicode Delphi进行一些调整,但如果我记得正确,这很简单。



这是它的样子:




Some people are saying that I must update the controls in Win3.1 palette (especially TFilterComboBox) with modern ones. But does Delphi provide such new controls?

I need to create a GUI (somehow similar to Windows Explorer, consisting in a DirectoryListBox, FileListBox and a FilterComboBox) where I allow the user to easily explore for files of a specific type. Since the interface is centered around this Explorer, a TOpenDialog will be like hitting the customer with a hammer in the middle of his head. I need an 'easy to use' solution.

Unfortunately Shell Controls are not stable enough to be used as replacement.

解决方案

In our application we use tpShellShock which works rather well. You may need to tweak it a little for Unicode Delphi, but if I recall correctly that was pretty simple to do.

Here's what it looks like:

这篇关于Win3.1调色板中的控件更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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