如何应用Readonly列表框 [英] how to apply Readonly listbox

查看:66
本文介绍了如何应用Readonly列表框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何显示多选列表框但不允许用户更改选择。如果我禁用列表框,则用户无法滚动它,因此可能无法看到所有选定的项目。有没有办法配置列表框以允许滚动但不允许更改所选项目?谢谢

How can I display a multi-select listbox but not allow the user to change the selections. If I disable the listbox then the user can''t scroll it and thus may not see all selected items. Is there a way to configure a listbox to allow scrolling but not allow changing the selected items? Thanks

推荐答案

我认为这是不可能的。这里有一个相同的讨论:只读列表框 [ ^ ]
I don''t think that is possible. There is a discussion for the same here: Readonly listbox[^]


这篇关于如何应用Readonly列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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