Hi,
I was trying to set the AnotherDatePicker value using below code in Activity_Create. When try to get the value using adpDate.GetDate (without doing any date select from the calendar). The value is empty. Seems like it wasn't set until I do a select date from the calendar. Is it a bug? Any advice is highly appreciated.
Thank you.
I was trying to set the AnotherDatePicker value using below code in Activity_Create. When try to get the value using adpDate.GetDate (without doing any date select from the calendar). The value is empty. Seems like it wasn't set until I do a select date from the calendar. Is it a bug? Any advice is highly appreciated.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("myLayout")
adps = Array(adpDate)
adpDate.SetDate(DateTime.DateParse(Main.SelectedDate),True)
end sub
Thank you.