jj: add preventduplicate values and add new items to lookupGrid

This commit is contained in:
Jonathan Jenne
2018-08-23 15:28:11 +02:00
parent d352487f29
commit 433155e804
10 changed files with 440 additions and 263 deletions

View File

@@ -1178,4 +1178,24 @@ Public Class frmAdministration
GroupToDelete = Nothing
End If
End Sub
Private Sub WD_INDEXComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles WD_INDEXComboBox.SelectedIndexChanged
Dim selectedIndexName As String = WD_INDEXComboBox.Text
If selectedIndexName = String.Empty Then
Exit Sub
End If
' Vektorindexe fangen bei 4000 an
Dim isVectorIndex As Boolean = ClassWindream.GetTypeOfIndexAsIntByName(selectedIndexName) > 4000
MULTISELECTCheckBox.Visible = isVectorIndex
VKT_ADD_ITEMCheckbox.Visible = isVectorIndex
VKT_PREVENT_MULTIPLE_VALUESCheckbox.Visible = isVectorIndex
If Not isVectorIndex Then
MULTISELECTCheckBox.Checked = False
VKT_ADD_ITEMCheckbox.Checked = False
VKT_PREVENT_MULTIPLE_VALUESCheckbox.Checked = False
End If
End Sub
End Class