列表中的单元格中的ComboBox? [英] ComboBox in a cell in a list?

查看:54
本文介绍了列表中的单元格中的ComboBox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在早期的项目中,我在数据网格中遇到了ComboBoxColumns

的严重问题。现在我正处于一个项目中,我需要一些类似的东西

...但我真的不想在Windows中使用Datagrid.Form导致

他们有缺陷和ComboBoxes不容易在那里工作(特别是

,当你需要在Comboboxes中的多列时)。


有没有更好的这种方式或更好的对象在使用这种

的东西时使用?


可以将ComboBoxes作为ListViews中的一列放置吗?


最好的问候

/ Lars netzel

解决方案

Lars Netzel写道:

在早期的项目中,我在数据网格中遇到了严重的ComboBoxColumns问题。而现在我正处于一个项目中,我需要再次这样的东西......但我真的不想在Windows中使用Datagrid。因为它们是错误的并且ComboBoxes不容易与那里一起工作(尤其是当你需要在Comboboxes中使用多列时)。

在做这种事情时是否有更好的方法或更好的对象使用
什么?

可以将ComboBoxes作为ListViews中的列吗?

最好的问候
/ Lars netzel




Windows Datagrid中有哪些错误。我一直用它来找
找到任何错误。


Chris


For例如,您需要创建自己的继承DataGrid的类和

添加此项以解决我现在不记得的问题..(找不到

地址在我的收藏夹中,现在描述了我遇到的错误)


受保护的覆盖函数ProcessKeyPreview(ByRef m As Message)As

Boolean

返回错误


结束函数


并尝试右对齐一个列为网格中最右列的列

重命名该列标题的标题,看看文本会发生什么,我

总是得到一个剪辑,大约是最后一个字符的一半..

而且我在上一个项目过程中遇到的很多问题都带来了很多不好的影响

我的上一个项目...与APS-NET中的Datagrid相比(其中有

从start和wor开始你需要的一切ks完全没有错误)

它很糟糕...

我认为扩展数据网格对象(现在是免费的)可能是

很好用,但我不确定是否有限制将会导致TON工作......(比如创建MultiColumnComboBoxColumn以获得$ /
datagrid(coul dbe DataBounded)..我从来没有让它工作得很好)


所以..你可以在ListView列中使用ComboBox而不是它那辆车吗? />
和棘手?


最好的问候/


Lars Netzel



" Chris" < no@spam.com>在消息中写道

news:e3 ************** @ tk2msftngp13.phx.gbl ...

Lars Netzel写道:< blockquote class =post_quotes>在早期的项目中,我在数据网格中遇到了严重的问题。
ComboBoxColumns。而现在我正处于一个我需要的项目......或者类似的东西......但是我真的不想在Windows中使用Data.grid.Form导致它们有错误并且ComboBoxes不容易
在那里工作(特别是当你需要在
Comboboxes中使用多列时)。

在做这种类型的时候有更好的方法或更好的对象吗?
东西?

可以将ComboBoxes作为ListViews中的列吗?

最好的问候
/ Lars netzel


< Windows Datagrid中有哪些错误。我一直都在使用它来找不到任何错误。

Chris



Lars,

这是您的意见但是我觉得很奇怪您想要使用

组合框而不是数据网格。


只是我的想法,


Cor


I have, in earlier projects, had som serious problems with ComboBoxColumns
in a datagrid. And now I''m in a projects where I needs sometthing like that
again.. but I really do not want to work with Datagrid in Windows.Form cause
they are buggy and ComboBoxes are not easy to work with there (especially
not when you need Multi Columns in the Comboboxes as well).

Is there a better way or a better object to use when doing this sort of
stuff?

Could one place ComboBoxes as a column in ListViews?

best regards
/Lars netzel

解决方案

Lars Netzel wrote:

I have, in earlier projects, had som serious problems with ComboBoxColumns
in a datagrid. And now I''m in a projects where I needs sometthing like that
again.. but I really do not want to work with Datagrid in Windows.Form cause
they are buggy and ComboBoxes are not easy to work with there (especially
not when you need Multi Columns in the Comboboxes as well).

Is there a better way or a better object to use when doing this sort of
stuff?

Could one place ComboBoxes as a column in ListViews?

best regards
/Lars netzel



What bugs are in the Windows Datagrid. I use it all the time w/o
finding any bugs.

Chris


For example you need to created your own class inheriting the DataGrid and
add this to get rid of a problem I dont rememmber right now.. (can''t find
address in my Favorites right now that described the bug I bumped into)

Protected Overrides Function ProcessKeyPreview(ByRef m As Message) As
Boolean
Return False

End Function

And try Right-Align a column that''s the most right column in the grid and
rename the header of that columnheader and see what happens to the text, I
always get a clipping, about half the last character..

And just a lot of bad vibes from many problems I''ve had during the process
of my last project... compared to the Datagrid in APS-NET (which has
everything you need from start and works completely bug free all the time)
it sucks...

I think maybe the Extended Datagrid Object (which is free nowdays) would be
good to use but I''m not sure if there are limitation in that that will
result in TONs of work.. (like Creating MultiColumnComboBoxColumn for a
datagrid (that coul dbe DataBounded).. I never got it working very well)

So.. can you have ComboBoxes in a ListView Column instead or it that buggy
and tricky?

Best Regards/

Lars Netzel


"Chris" <no@spam.com> wrote in message
news:e3**************@tk2msftngp13.phx.gbl...

Lars Netzel wrote:

I have, in earlier projects, had som serious problems with
ComboBoxColumns in a datagrid. And now I''m in a projects where I needs
sometthing like that again.. but I really do not want to work with
Datagrid in Windows.Form cause they are buggy and ComboBoxes are not easy
to work with there (especially not when you need Multi Columns in the
Comboboxes as well).

Is there a better way or a better object to use when doing this sort of
stuff?

Could one place ComboBoxes as a column in ListViews?

best regards
/Lars netzel



What bugs are in the Windows Datagrid. I use it all the time w/o finding
any bugs.

Chris



Lars,

It is your opinion however I find it strange that you want to take the
combobox and not the datagrid.

Just my thought,

Cor


这篇关于列表中的单元格中的ComboBox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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