I have a calendar 10.0 control on my form, for the On Updated event I have the following code.
Private Sub Calendar9_Updated(Code As Integer)
' when new date is selected update delivery date textbox
Dim newdeldate As Date
newdeldate = Calendar9.Value
MsgBox (newdeldate)
DateOfDelivery.SetFocus
DateOfDelivery.Text = newdeldate
End Sub
When I select a date on the calendar nothing happens, the event is not firing for some reason. How can I fix it?
Private Sub Calendar9_Updated(Code As Integer)
' when new date is selected update delivery date textbox
Dim newdeldate As Date
newdeldate = Calendar9.Value
MsgBox (newdeldate)
DateOfDelivery.SetFocus
DateOfDelivery.Text = newdeldate
End Sub
When I select a date on the calendar nothing happens, the event is not firing for some reason. How can I fix it?