Enabled and fixed Tab and Shift-Tab key combination in PropertyGrid

This commit is contained in:
Andreas Rehm
2011-02-19 18:10:10 +01:00
parent 661c930d51
commit 00f14684bb
2 changed files with 5 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
1.64:
AR: Bugs fixed: #14, #22, #25
AR: Fixed translations, moved everything into resx, refactoring, namespace renamed to mRemoteNG
AR: Removed confConsNew.xml -> creating new files with vb code
AR: Fixed RD Gateway and other inheritance bugs, rewritten to use a List of String instead of a string for hiding properties

View File

@@ -235,6 +235,8 @@ Namespace UI
If pGrid.SelectedGridItem.Parent.GridItems.Count > gridItemIndex + 1 Then
pGrid.SelectedGridItem.Parent.GridItems(gridItemIndex + 1).Select()
Else
pGrid.SelectedGridItem.Parent.GridItems(0).Select()
End If
End If
If keyData = (Keys.Tab Or Keys.Shift) Then
@@ -249,6 +251,8 @@ Namespace UI
If gridItemIndex - 1 >= 0 Then
pGrid.SelectedGridItem.Parent.GridItems(gridItemIndex - 1).Select()
Else
pGrid.SelectedGridItem.Parent.GridItems(pGrid.SelectedGridItem.Parent.GridItems.Count - 1).Select()
End If
End If