作者Anott ()
看板Visual_Basic
标题[VB6 ] 又是DataGrid的问题
时间Tue Jan 9 19:54:06 2007
请问DataGrid要怎麽选定某个特定Row去增加颜色
也就是说 某个栏位有值 我将整排资料用特定颜色标出来
IF Datagrid.Columns(5).DataField="" then
Datagrid.Row(5).BackColor= vbRed
^^^^^^^^^^^^^^^^^^^^^^^^(好像没有这种属性,不能这样使用 )
End IF
请各位赐教了 <(_ _)>
我的意思是如下图
┌──┬──┬──┬──┬──┬──┬──┬──┬──┐
│ │ │ │ │ │ │ │ │ │
├──┼──┼──┼──┼──┼──┼──┼──┼──┤
│ │ │ │ │ │ │ │ │ │
├──┼──┼──┼──┼──┼──┼──┼──┼──┤
│ │ │ │ │ │ │ │ │ │
├──┼──┼──┼──┼──┼──┼──┼──┼──┤
│ │ │ │ │ │ │ │ │ │
├──┼──┼──┼──┼──┼──┼──┼──┼──┤
│ │ │ │ │ │ │ │ │ │
├──┼──┼──┼──┼──┼──┼──┼──┼──┤
│ │ │ │ │ │ │ │ │ │
├──┼──┼──┼──┼──┼──┼──┼──┼──┤
│ │ │ │ │ │ │ │ │ │
└──┴──┴──┴──┴──┴──┴──┴──┴──┘
--
老师在讲~~~你没有在听嘛(丢笔)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.129.108.139
1F:推 fumizuki:DataGrid 好像不能这麽漂亮 01/09 19:54
2F:推 Anott:也就是说做不到这样@@? 01/09 20:08
※ Anott:转录至看板 ask 01/09 20:34