This commit is contained in:
SchreiberM
2016-05-12 16:55:46 +02:00
2 changed files with 23 additions and 4 deletions

View File

@@ -376,10 +376,26 @@
End If
For Each v As String In values
Dim pos = control.FindStringExact(v)
If pos >= 0 Then
control.SetItemCheckState(pos, CheckState.Checked)
End If
' Alle Werte, die v entsprechen, anhaken
Dim posBefore As Integer = 0
While (control.FindStringExact(v, posBefore) > -1)
Dim pos = control.FindStringExact(v, posBefore)
' Wenn v gefunden wurde, anhaken
If pos >= 0 Then
control.SetItemCheckState(pos, CheckState.Checked)
posBefore = pos + 1
End If
' Verhindere Endlosschleife
If pos = 100 Then
Exit While
End If
End While
'Dim pos = control.FindStringExact(v)
'If pos >= 0 Then
' control.SetItemCheckState(pos, CheckState.Checked)
'End If
Next
End Sub

View File

@@ -5069,5 +5069,8 @@ Public Class frmConstructor_Main
tsButtonCancel.Visible = False
CtrlCommandUI.IsInsert = False
RECORD_CHANGED = False
' Den derzeitigen Record Neuladen
Column_Row_Handler()
End Sub
End Class