DateTimePicker
-
Hello, I am using date time picker to display month and a year. How can i make calendar not to show days, only Month and a year?
-
Hello, I am using date time picker to display month and a year. How can i make calendar not to show days, only Month and a year?
Set the DateTimePicker's properties : Format: Custom CustomFormat: MM.yyyy
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
-
Set the DateTimePicker's properties : Format: Custom CustomFormat: MM.yyyy
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
You have missunderstood me, It does display as i want, but when i bring up calendar, there I can see days, but i do not wan't it to be seen
-
You have missunderstood me, It does display as i want, but when i bring up calendar, there I can see days, but i do not wan't it to be seen
Well, in Load event write code to format your DateTimePicker.
dateTimePicker1.CustomFormat = "MM.yyyy";
dateTimePicker1.Format = DateTimePickerFormat.Custom;I hope I have understood you now!
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
-
Well, in Load event write code to format your DateTimePicker.
dateTimePicker1.CustomFormat = "MM.yyyy";
dateTimePicker1.Format = DateTimePickerFormat.Custom;I hope I have understood you now!
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
Blue_Boy wrote:
I hope I have understood you now!
Nice try, but not. I will let the screenshot talking http://i26.photobucket.com/albums/c104/bsaksida/Pic.png[^]
-
Blue_Boy wrote:
I hope I have understood you now!
Nice try, but not. I will let the screenshot talking http://i26.photobucket.com/albums/c104/bsaksida/Pic.png[^]
Hi, Will be solution for you if you set property ShowUpDown=true of dateTimePicker ?
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
-
Hi, Will be solution for you if you set property ShowUpDown=true of dateTimePicker ?
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com
Not exactly what i had in mind, but it is still better. Maybe i woud need to look for custom control
-
Not exactly what i had in mind, but it is still better. Maybe i woud need to look for custom control
-
Why not create your own user control with 2 comboboxes on it? The first combobox will have the months, the 2nd will have the year values.
The only thing i have ask is if I can modify calendar that pops up after clicking on the DateTimePicker. I Wanted that callendar to display Month instead days. If you click the month, callendar would "zoom out". I wanted that view for that callendar