CXTPDatePickerControl not showing specified date |
Post Reply |
Author | |
JasonLi
Newbie Joined: 02 May 2011 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 02 May 2011 at 10:22am |
I want to initialize CXTPDatePickerControl to show specified date selected, which means that date picker shows one selected specified date once when it pops up. But only today's date is selected when it pops up. I have tried all provided functions to implement this without luck.
Is it possible to get this done? The other question: Is it possible to navigate by year instead of only by month in date picker?
|
|
JasonLi
Newbie Joined: 02 May 2011 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Let me answer my own questions:
1. about default date, CXTPDatePickerContrl only shows today's date as default. I have a workaround for this: calculate month difference between specified date and today's date, use ScrollLeft or ScrollRight function to show the specified date as default. 2. CXTPDatePickerControl is only able to be navigated by month, not by year, which is not user friendly.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |