Datagridview单元格焦点 [英] Datagridview cell focus
本文介绍了Datagridview单元格焦点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将焦点设置为datagridview中同一行中的下一个单元格?
how to set the focus to the next cell in same row in datagridview?
推荐答案
DataGridView1.CurrentCell = DataGridView1.Item(1, 5)
''or
DataGridView1.CurrentCell = DataGridView1.Item("ColumnName", 5)
此示例摘自设置单元格焦点datagridview [ ^ ]
但是google也抛出了此可能性列表 ^ ]
This example was taken from Setting cell focus datagridview[^]
But google threw up this list of possibles too Google: vb.net datagridview cell focus[^]
这篇关于Datagridview单元格焦点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文