如何创建包含颜色列表的组合框 [英] How to create a ComboBox containing List of Colors

查看:77
本文介绍了如何创建包含颜色列表的组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作方式是如何创建包含颜色列表或颜色对话框的组合框或下拉列表....例如表单属性的前景色和后景色...

谢谢....

My quostion is how we can create a Combo Box Or Drop Down List Containing a list of colors or a color dialog Box.... Such as Form Properties Fore Colors And Back Colors......

Thank You....

推荐答案

看看
Have a look at Implementing an OwnerDrawn ComboBox[^]

I''m sure you''ll be able to translate the c# code to VB, just draw a filled rectangle in place of the smileys.

Best regards
Espen Harlinn


这篇关于如何创建包含颜色列表的组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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