Page 1 of 1
IntlDatepicket ,get date string

Posted:
October 23rd, 2011, 12:04 pm
by delphilord
Text property of IntlDatepicker is protected,component returns selected date in date property as Tdate.I need date as string too,How can I get as string for jalali calendar?
Re: IntlDatepicket ,get date string

Posted:
October 23rd, 2011, 1:08 pm
by delphilord
I solved it using generic method.
type mydatepicker=class(tintldatepicker);
...
S:=mydatedatepicker(intldatepicket1).text
Re: IntlDatepicket ,get date string

Posted:
October 23rd, 2011, 6:25 pm
by Kambiz
It's not the right solution. Always use Format method to convert the date to a text string.