fix focus problem in search start

This commit is contained in:
Jonathan Jenne
2020-11-24 16:25:48 +01:00
parent 8e64ef1978
commit 0dd9788d8f
3 changed files with 31 additions and 27 deletions

View File

@@ -223,15 +223,24 @@ Public Class ClassControlCreator
oMyNewGridControl.DataSource = oDTSource
oView.PopulateColumns()
oView.FocusInvalidRow()
oMyNewGridControl.RefreshDataSource()
oMyNewGridControl.ForceInitialize()
'oMyNewGridControl.RefreshDataSource()
'oMyNewGridControl.ForceInitialize()
oWatch1.Stop()
Return oMyNewGridControl
End Function
Public Sub DeselectGridControl(BaseControl As Control)
Try
DirectCast(DirectCast(BaseControl, GridControl).MainView, GridView).FocusInvalidRow()
Catch ex As Exception
Logger.Error(ex)
End Try
End Sub
Public Function AddCheckBox(pIndexname As String, y As Integer, pVorbelegung As String, pCaption As String) As CheckBox
Try
Dim oValue As Boolean = False