本文介绍了如何在java swt的组合(下拉)中添加复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在组合框中有一个复选框(下拉),以便可以一次选择多个组合元素.能做到吗?如果是,请您解释或提供任何链接.
I want to have checkboxes in a combo(Drop down) so that I can select more than one elements of combo at once. Can this be done? If yes, can you please explain or provide any link if possible.
谢谢.
推荐答案
屏幕截图 https://github.com/lawhcd/SWTMultiCheckSelectionCombo
对于正在寻找允许用户从复选框样式选项列表中选择多个选项的窗口小部件的任何人.
For anyone who is looking for a widget that allows user to select multiple options from a list of check box style options.
它基于user1438038的想法,并进行了扩展,以提供类似于Combo的小部件所需的几乎所有api.
It is based on user1438038's idea and extended to provide nearly all of the api required of a widget similar to Combo.
这篇关于如何在java swt的组合(下拉)中添加复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!