I am using a DateTimePicker control and I’m finding I cannot change the “Checked” property. It seems to be “read” only despite being “read/write” in the guide. Can you confirm?
Here is my code:
Set DateTime1 = Dlg.AddDateTimeControl
.Hint = "[Date1]"
.Caption = "Date:"
.Kind = fdtkDate
.DateTime = Date
.ShowCheckBox = True
.Checked = False
.CaptionPosition = afvLeft
.CaptionWidth = iCaptWidth
.CaptionAlign = ftaRightJustify
The picker is still checked after executing this code.
- You must be logged in to reply to this topic.