-
Topic
-
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
with DateTime1
.Hint = "[Date1]"
.Caption = "Date:"
.Kind = fdtkDate
.DateTime = Date
.ShowCheckBox = True
.Checked = False
.CaptionPosition = afvLeft
.CaptionWidth = iCaptWidth
.CaptionAlign = ftaRightJustify
end with
The picker is still checked after executing this code.
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.