Z
z.sessions
I need a control that acts like a numeric up down control in that
there are two buttons on the right of the control, one for up and one
for down.
The kicker is that the values need to be MM/YY. And if the current
value is 12/08 and the user clicks on up, it needs to change to 01/09.
And if the value is 01/09 and they click on down, it changes to 12/08.
And obviously if it is 03/09 and the click on up it goes to 04/09,
down to 02/09.
The Value property of the NUD control is a Decimal and I see no way to
specify custom formatted values.
So I guess I am going to either need to write a custom NUD control
(hard) or create a usercontrol that is derived from the NUD control
and override the necessary properties and methods to achieve my goal
(sounds easier).
Any suggestions?
there are two buttons on the right of the control, one for up and one
for down.
The kicker is that the values need to be MM/YY. And if the current
value is 12/08 and the user clicks on up, it needs to change to 01/09.
And if the value is 01/09 and they click on down, it changes to 12/08.
And obviously if it is 03/09 and the click on up it goes to 04/09,
down to 02/09.
The Value property of the NUD control is a Decimal and I see no way to
specify custom formatted values.
So I guess I am going to either need to write a custom NUD control
(hard) or create a usercontrol that is derived from the NUD control
and override the necessary properties and methods to achieve my goal
(sounds easier).
Any suggestions?