GlobalIndexer: Fix date picker flipping day and months
This commit is contained in:
parent
39b0f2d582
commit
2652bb277d
@ -76,7 +76,11 @@ Public Class ControlCreator
|
|||||||
If pDefaultValue.ToUpper = PLACEHOLDER_NULL Then
|
If pDefaultValue.ToUpper = PLACEHOLDER_NULL Then
|
||||||
oPicker.EditValue = Nothing
|
oPicker.EditValue = Nothing
|
||||||
ElseIf pDefaultValue IsNot Nothing Then
|
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
|
End If
|
||||||
|
|
||||||
oPicker.Properties.AppearanceFocused.BackColor = HightlightColor
|
oPicker.Properties.AppearanceFocused.BackColor = HightlightColor
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user