Hi, This pull request contains a simple fix to the Cleanup method to prevent a NullReferenceException occurring in the VS Designer.
I have also implemented two additional read-only properties that I needed in order to discover the location of the I beam cursor within the control; allowing me to implement navigation between controls using keyboard arrow keys.
.SelectionStart == 0 // Cursor is in the first field and to the left of any text
.FocusedFieldIndex == 3 && .SelectionStart == .Text.Length // Cursor is in the last field and to the right of any text.
Hi, This pull request contains a simple fix to the Cleanup method to prevent a NullReferenceException occurring in the VS Designer.
I have also implemented two additional read-only properties that I needed in order to discover the location of the I beam cursor within the control; allowing me to implement navigation between controls using keyboard arrow keys.
.SelectionStart == 0 // Cursor is in the first field and to the left of any text .FocusedFieldIndex == 3 && .SelectionStart == .Text.Length // Cursor is in the last field and to the right of any text.