cellvaluechange后如何去下一个克隆 [英] after cellvaluechange how can go next cloumn

查看:96
本文介绍了cellvaluechange后如何去下一个克隆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

cellvaluechange之后,如何在datagrid vb.net中输入键时进入下一个cloumn.

after cellvaluechange how can go next cloumn while enter key press in datagrid vb.net

推荐答案

在cellvaluechange事件中使用;

in the cellvaluechange event use;

DataGridView1.CurrentCell = DataGridView1.Item(e.ColumnIndex + 1, e.RowIndex)


此命令仅适用于按键,请检查CellValueChanged.
当我按TAB键会起作用,我需要在按Enter键时将焦点移到单元格值更改后的下一列.请检查并回答我...
This command work only with keypress, please check with CellValueChanged.
when i press TAB key it will work, I need when i press Enter key the focus must go next column after cell value changed. Please check and answer me please......


这篇关于cellvaluechange后如何去下一个克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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