GlobalIndexer: Fix date picker flipping day and months

This commit is contained in:
Jonathan Jenne 2022-02-28 14:37:50 +01:00
parent 39b0f2d582
commit 2652bb277d

View File

@ -76,7 +76,11 @@ Public Class ControlCreator
If pDefaultValue.ToUpper = PLACEHOLDER_NULL Then
oPicker.EditValue = Nothing
ElseIf pDefaultValue IsNot Nothing Then
oPicker.EditValue = pDefaultValue
Dim oDateValue As Date = Nothing
If Date.TryParse(pDefaultValue, oDateValue) Then
oPicker.EditValue = oDateValue
End If
End If
oPicker.Properties.AppearanceFocused.BackColor = HightlightColor