I am a brand noob with XOJO and working on a sample Android app. Is it possible to programatically set the date of the datepicker so that it shows the date without having to open the datepicker and select a day? I want to have the current day show unless a different day is selected.
Thanks,
Gary
I guess this does the job… at the opening event of the DateTimePicker set the me.SelectedDate = desiredDateTimeValue
Thanks Rick! I will play with that and see if i can make it work. Trying to learn a new language and OOP all at the same time.
Thanks again,
Gary
1 Like
e.g.
me.SelectedDate = new DateTime(2024, 12, 25) // Xmas 2024
1 Like