Hello,
I'm struggling to set a default time for a prefdialog time field, I understand that it must be of type period however I've tried the below simple implementation and it's not crashing, but it's also not setting the time (it's showing 12 00 AM by default in the field).
Dim time As Period
time.Initialize
time.Hours = 11
time.Minutes = 2
Dim ls As List
ls.Initialize
ls.Add(time)
prefdialog.SetOptions("4", ls)
The output of time is: [Days=0, Hours=11, IsInitialized=true, Minutes=2, Months=0, Seconds=0, Years=0]
I thought this would set it to be "11 02 AM" but it's not working, any ideas?