Dev控件GridControl,怎样复制选中行焦点单元格的值
1个回答
展开全部
Private Sub AdvBandedGridView1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles AdvBandedGridView1.KeyDown
If e.Control And e.KeyCode = Keys.C Then
Clipboard.SetDataObject(AdvBandedGridView1.GetFocusedRowCellValue(AdvBandedGridView1.FocusedColumn))
e.Handled = True
End If
End Sub
If e.Control And e.KeyCode = Keys.C Then
Clipboard.SetDataObject(AdvBandedGridView1.GetFocusedRowCellValue(AdvBandedGridView1.FocusedColumn))
e.Handled = True
End If
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询