Patterns: Replace with empty string for lookup edits when editvalid is nothing
This commit is contained in:
parent
8e47ba31e7
commit
0e51eec9b1
@ -52,7 +52,12 @@ Namespace Modules
|
||||
|
||||
Case GetType(DevExpress.XtraEditors.LookUpEdit)
|
||||
Dim oLookupEdit As DevExpress.XtraEditors.LookUpEdit = oControl
|
||||
oReplaceValue = oLookupEdit.EditValue
|
||||
|
||||
If IsNothing(oLookupEdit.EditValue) Then
|
||||
oReplaceValue = String.Empty
|
||||
Else
|
||||
oReplaceValue = oLookupEdit.EditValue
|
||||
End If
|
||||
|
||||
Case GetType(LookupControl3)
|
||||
Dim oLookupControl3 As LookupControl3 = oControl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user