thecrgrt Posted June 24, 2011 Posted June 24, 2011 Hi Farshad, I hope this not break your valued time. If you do not remember it. I've asked you about the display of Buddhist year. So I've modified some of part of JS code by using Ext.Override into locale file, and everything fine for displaying, but returned value was not correctly. I've noticed that, ExtJS has used a shared code to get value for displaying and returning value of datetime. Of course I can make it separately, but the wrapper does not know about this function. So i've some question: 1. TUniDateTimePicker was inherited from the classes of ExtCalendar? 2. If so, is DateTime value of TUniDateTimePicker is internally managed? or can it modified from this point? Quote
Administrators Farshad Mohajeri Posted June 24, 2011 Administrators Posted June 24, 2011 Ext.form.DateField you must override getValue() method so it will return desired value. On Delphi side StrToDate() is used to convert the returned value to a TDateTime value. Quote
thecrgrt Posted June 24, 2011 Author Posted June 24, 2011 Ext.form.DateField you must override getValue() method so it will return desired value. On Delphi side StrToDate() is used to convert the returned value to a TDateTime value. Thank you very much, that so usefull. I'll try it. 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.