Hi All,
Is there a snippet for B4i to show a date picker (like the B4A snippet belove) ?
Is there a snippet for B4i to show a date picker (like the B4A snippet belove) ?
B4X:
'B4A code
Dim dd As DateDialog
dd.DateTicks = DateTime.Now
Dim sf As Object = dd.ShowAsync("", "Scegli una data", "CONFERMA", "", "", Null, False)
Wait For (sf) Dialog_Result(Result As Int)
If Result = DialogResponse.POSITIVE Then
DateTime.DateFormat = "dd/MM/yyyy"
Private sDate As String = DateTime.Date(dd.DateTicks)
Log(DateTime.Date(dd.DateTicks))
End If