Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
UltraDateTimeEditor behavior changes with Enable XP Visual Style
posted

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.

Parents Reply Children