列表视图中的多选(VB6) [英] Multiselect in a listview (VB6)

查看:143
本文介绍了列表视图中的多选(VB6)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在listview中启用了多选。我的问题是当我点击列表视图但没有点击项目时

Hi
I have enabled multiselect in my listview. My problem is that when I click inside the listview but not on a item

展开 | 选择 | Wrap | 行号

推荐答案

我应该还提到有2个不同的列表视图;


在组件下我使用了两个下面的那个
Microsoft Windows Common Controls 5(SP2)

Microsoft Windows公共控件6(SP4)

表现不同

其中一个有我想要的行为,但它不允许你设置项目的颜色,如
I should also mention that there are 2 differnt listviews;

Under components I have used both the one under
Microsoft Windows Common Controls 5 (SP2)
Microsoft Windows Common Controls 6 (SP4)

there behave different
One of them has the behavour I want but it doesnt allow you to set the colour of an item like
展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


对不起,如果这是一个明显的,但你确定索引不是从0开始,而不是1吗?


哦,这个问题只出现在第一项或其中任何一项中吗?
Sorry if this is an obvious one, but are you sure the index doesn''t start at 0, rather than 1?

Oh, and does this problem only occur with the first item, or any/all of them?



对不起如果这是一个明显的,但你确定索引不是从0开始,而不是1吗?


哦,这个问题只发生在第一项,或者他们中的任何一个?
Sorry if this is an obvious one, but are you sure the index doesn''t start at 0, rather than 1?

Oh, and does this problem only occur with the first item, or any/all of them?



嗨!

是的。这种选择并没有出现在intellisence ...... :(


Hi!
Yes happends for all. The choice doesnt come up in the intellisence... :(


这篇关于列表视图中的多选(VB6)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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