updated for calendar control

commented out set value as valuepattern is read only and cant write a
value into the control.
Need to work out another way of doing it at some point, maybe by
replicating key strokes.