DatagridView:将第一列更改为复选框 [英] DatagridView: changing the first column to a Checkbox

查看:626
本文介绍了DatagridView:将第一列更改为复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VB6中使用了Datagrid.我想将Datagrid的第一列设为Checkbox列.

谁能建议我该怎么做?

谢谢与问候
Madhura

I have used a Datagrid in VB6. I want to make the first column of the Datagrid a Checkbox column.

Can anyone advise how I can do this?

Thanks & Regards
Madhura

推荐答案

阅读其中一个论坛,尽管不确定,请尝试:
转到属性表,然后双击(自定义)",或右键单击网格控件,然后选择属性".上
在弹出的属性对话框中,转到最后一个选项卡格式".选择该列,然后选择复选框.

此外,不确定是否在VB6中,但是您可以在这里查看:自定义Windows窗体DataGrid [^ ]
Read in one of the forums, though not sure, try :
Go to the property sheet and double click on "(Custom)" or right click on the grid control and select Properties. On
the pop-up properties dialog, head to the last tab, "Format". Select the column and select Checkbox.

Further, not sure if this is in VB6 or not, but you can have a look here: Customizing the Windows Forms DataGrid[^]


这篇关于DatagridView:将第一列更改为复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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