MS Init Git
This commit is contained in:
@@ -1050,8 +1050,12 @@ Public Class frmValidator
|
||||
For Each oControl As Control In pnldesigner.Controls
|
||||
|
||||
If oControl.Tag = oDEPENDING_GUID Then
|
||||
Dim oDependingLookup As LookupControl2 = oControl
|
||||
oDependingLookup.DataSource = oDTDEPENDING_RESULT
|
||||
If oControl.GetType.ToString = "System.Windows.Forms.TextBox" Then
|
||||
oControl.Text = oDTDEPENDING_RESULT.Rows(0).Item(0)
|
||||
Else
|
||||
Dim oDependingLookup As LookupControl2 = oControl
|
||||
oDependingLookup.DataSource = oDTDEPENDING_RESULT
|
||||
End If
|
||||
_dependingControl_in_action = False
|
||||
Exit For
|
||||
End If
|
||||
@@ -1060,7 +1064,7 @@ Public Class frmValidator
|
||||
|
||||
|
||||
Catch ex As Exception
|
||||
LOGGER.Warn($"Could not get the lookupconbtrol for name {oDEPENDING_CtrlName}")
|
||||
LOGGER.Warn($"Error while setting depending control-value for [{oDEPENDING_CtrlName}]: " & ex.Message)
|
||||
_dependingControl_in_action = False
|
||||
End Try
|
||||
SendKeys.Send("{TAB}")
|
||||
|
||||
Reference in New Issue
Block a user