使ComboBox下拉按钮在Delphi中不可见? [英] make ComboBox drop-down button invisible in Delphi?

查看:568
本文介绍了使ComboBox下拉按钮在Delphi中不可见?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一些简单的方法来定制一个来自Delphi的ComboBox,让drowdown按钮与箭头不可见?我的意思是没有很多的自定义代码..也许有一些控件具体的Windows标志设置..



相信我,这就是我想要的..谢谢!

解决方案

如果我正确理解,你想要cxDBLookupComboBox的所有功能,

在FormCreate ...中尝试此操作



cxDBLookupComboBox1.Properties.Buttons.Clear;


There is some easy way to customize a ComboBox from Delphi to make the drowdown button with the arrow invisible? I mean without a lot of custom-draw code.. Maybe there is some control specific windows flag to set..

Believe me, that is what I want.. Thanks!

解决方案

If I understand you correctly, you want all the functionality of the cxDBLookupComboBox, just not the button.

Try this in the FormCreate...

cxDBLookupComboBox1.Properties.Buttons.Clear;

这篇关于使ComboBox下拉按钮在Delphi中不可见?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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