2 Commits

Author SHA1 Message Date
Jonathan Jenne
0c659d9f72 LookupGrid: Version 3.2.5 2022-03-24 11:47:53 +01:00
Jonathan Jenne
04e3b32895 LookupGrid: Fix crash when clicking on new row checked column 2022-03-24 11:47:21 +01:00
2 changed files with 8 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyCompany("Digital Data")>
<Assembly: AssemblyProduct("LookupGrid")>
<Assembly: AssemblyCopyright("Copyright © 2022")>
<Assembly: AssemblyTrademark("3.2.4.0")>
<Assembly: AssemblyTrademark("3.2.5.0")>
<Assembly: ComVisible(False)>
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("3.2.4.0")>
<Assembly: AssemblyFileVersion("3.2.4.0")>
<Assembly: AssemblyVersion("3.2.5.0")>
<Assembly: AssemblyFileVersion("3.2.5.0")>

View File

@@ -191,6 +191,11 @@ Public Class frmLookupGrid
End Sub
Private Sub viewLookup_RowCellClick(sender As Object, e As RowCellClickEventArgs) Handles viewLookup.RowCellClick
If e.RowHandle = GridControl.InvalidRowHandle Or e.RowHandle = GridControl.NewItemRowHandle Then
e.Handled = False
Exit Sub
End If
' When AllowFocus is used on the SELECTED Column, the checkbox can only be selected with a double click
' This function manually checks/unchecks the clicked cell
If MultiSelect AndAlso e.Column.FieldName = COLUMN_SELECTED Then