How to set / show button "Today" with B4XDateTemplete XUI ?
a bit code...
a bit code...
B4X:
Sub SelectDate
Wait For (Dialog.ShowTemplate(DateTemplate, "", "", "Cancel")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
Log($"Selected date: $Date{DateTemplate.Date}"$)
End If
End Sub