Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
978 | Sep 10,2002 04:47 AM UTC | Nov 19,2002 07:50 AM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
Private Sub GridControl1_CurrentCellKeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles GridControl1.CurrentCellKeyDown If e.KeyCode = Keys.Delete Then Dim range As GridRangeInfo = Me.GridControl1.Selections.Ranges.ActiveRange If range.IsRows Then Me.GridControl1.Rows.RemoveRange(range.Top, range.Bottom) e.Handled = True End If End If End Sub
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.