Hi,
Previously I had written code in the calendar_close event that would not allow future date selection. Since I redesigned the same for HPiPAQ 214 using DataTimePicker and could not find the DataTimePicker_close event. So how to do the same ? Here is the calendar_close event code :
Sub Calendar3_Close
If calendar3.Value > Now Then
Msgbox("Sorry , its Future Date !")
calendar3.Focus
calendar3.Color=cred
Return
.... ....
.... ....
.... ....
End if
writing same sort thing in DataTimePicker_valuechanged event does not help.
what to do ?
regards,
Previously I had written code in the calendar_close event that would not allow future date selection. Since I redesigned the same for HPiPAQ 214 using DataTimePicker and could not find the DataTimePicker_close event. So how to do the same ? Here is the calendar_close event code :
Sub Calendar3_Close
If calendar3.Value > Now Then
Msgbox("Sorry , its Future Date !")
calendar3.Focus
calendar3.Color=cred
Return
.... ....
.... ....
.... ....
End if
writing same sort thing in DataTimePicker_valuechanged event does not help.
what to do ?
regards,