I am using version NetAdvantage 2008 in Visual Studio 2010 for a Windows Forms application. I enabled XP Visual Styles so that I could add Custom Hint to my text inputs.
With Enable XP Visual Styles unchecked, when a user drops down the Calendar, the current date is selected, say March 20, 2012. If they click to go to the next month, the value keeps the day of month selected (the 20th) but advances the month to April.
With "Enable XP Visual Styles" checked, dropping down the calendar and clicking next yields April 1st, and subsequent clicks on the month advance to the first of each month.
Is there a way to preserve my setting of "Enable XP Visual Styles" checked and override the behavior of the dropdown so that it preserves the current day of month while paging through months? I tried setting UseOsThemes to True, False, and Default. I have also experimented with UseAppStyling set to both True and False. I have also tried changing the DisplayStyle to each of its options.
Thank you for any help you can provide.
Hello,
I tried to reproduce this behavior and was not able to do so. In my sample the behavior is always setting the day to '01' on month changing. Please take a look at my sample and modify it if necessary.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.