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 End If
For Each v As String In values For Each v As String In values
Dim pos = control.FindStringExact(v) ' Alle Werte, die v entsprechen, anhaken
If pos >= 0 Then Dim posBefore As Integer = 0
control.SetItemCheckState(pos, CheckState.Checked) While (control.FindStringExact(v, posBefore) > -1)
End If 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 Next
End Sub End Sub

View File

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