thecrgrt Posted May 10, 2011 Posted May 10, 2011 Hi all, How do I change the display year of TUniDateTimePicker to a Buddhist year? The locale property can changes only the name of month and day. Montri. Quote
Administrators Farshad Mohajeri Posted May 12, 2011 Administrators Posted May 12, 2011 Hi all, How do I change the display year of TUniDateTimePicker to a Buddhist year? The locale property can changes only the name of month and day. Montri. Normally how do you change it in Delphi VCL? Quote
thecrgrt Posted May 12, 2011 Author Posted May 12, 2011 Normally how do you change it in Delphi VCL? DateTimePicker is a Windows common control and it was automatically display a year related to a selected region, for my case a (Thai)Buddhist year. BTW, I've used a TMS Calendar component for IntraWeb, I was modified its source by added 543 to a displayed year and substracted 543 from a saved year. In fact, a Buddhist year should be increased from a Christ year for 544 years, but only for Thailand that has increased 543 years from a Christ year. It's good for me, if you can whether tell me what's file of ExtJS that i can modify or how can it be automatically from UniGUI like a Windows DateTimePicker common control. Thank. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.