link multiselect to index type (is vector)

This commit is contained in:
Jonathan Jenne 2020-04-29 12:10:05 +02:00
parent 1404c42cda
commit c03a75254b

View File

@ -455,12 +455,12 @@ Public Class frmAdministration
If frmloaded = True Then
If SUGGESTIONCheckBox.CheckState = CheckState.Checked Then
btnSQLView.Visible = True
MULTISELECTCheckBox.Visible = True
'MULTISELECTCheckBox.Visible = True
VKT_ADD_ITEMCheckbox.Visible = True
VKT_PREVENT_MULTIPLE_VALUESCheckbox.Visible = True
Else
btnSQLView.Visible = False
MULTISELECTCheckBox.Visible = False
'MULTISELECTCheckBox.Visible = False
VKT_ADD_ITEMCheckbox.Visible = False
VKT_PREVENT_MULTIPLE_VALUESCheckbox.Visible = False
End If
@ -992,11 +992,11 @@ Public Class frmAdministration
Private Sub WD_INDEXComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles WD_INDEXComboBox.SelectedIndexChanged
_indexIsVectorField = indexIsVectorField()
MULTISELECTCheckBox.Visible = _indexIsVectorField
VKT_PREVENT_MULTIPLE_VALUESCheckbox.Visible = _indexIsVectorField
'VKT_PREVENT_MULTIPLE_VALUESCheckbox.Visible = _indexIsVectorField
If Not _indexIsVectorField Then
MULTISELECTCheckBox.Checked = False
VKT_PREVENT_MULTIPLE_VALUESCheckbox.Checked = False
'VKT_PREVENT_MULTIPLE_VALUESCheckbox.Checked = False
End If
End Sub