在DBGrid中的CheckBox [英] CheckBox in a DBGrid

查看:141
本文介绍了在DBGrid中的CheckBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是如何在Delphi 7中的dbgrid中设置一个列,这些列将会带有一个复选框项。

My question is how to set a column in dbgrid in Delphi 7 which will be with a checkbox items.

在此先感谢。

推荐答案

OK
我用这篇文章是针对我的问题的。好但问题是,它不应该如何应对。所以我改变了我的代码逻辑。并通过将dbgrid中的选定行保存在列表中来实现它。

OK I used this article for my problem. OK But the problem is that it wasn't working how it should. So I change my logic in the code. And implementing it by saving the selected rows from the dbgrid in a list.

这篇关于在DBGrid中的CheckBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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