chrisjohn82 Posted June 21, 2016 Posted June 21, 2016 Hi everybody, I'm trying to change the range for the Year in the mobile datetimepicker but i can't get it to work, i tried to change the minYear and maxYear property but the maxYear is always 2016? Best Regards Christian Quote
Sherzod Posted June 22, 2016 Posted June 22, 2016 Hi, Which version are you using?! I'm trying to change the range for the Year in the mobile datetimepicker but i can't get it to work, i tried to change the minYear and maxYear property but the maxYear is always 2016? In DesignTime or RunTime ?! Best regards. Quote
chrisjohn82 Posted June 22, 2016 Author Posted June 22, 2016 I'm using version 0.99.95.1301 and it's in runtime still showing maxYear = 2016. Quote
Sherzod Posted June 22, 2016 Posted June 22, 2016 For now try: procedure TMainmForm.UnimButton1Click(Sender: TObject); begin //yearFrom - MinYear, //yearTo - MaxYear.. UniSession.AddJS('setTimeout(function(){' + UnimDatePicker1.JSName + '.setPicker({yearFrom: 2000, yearTo: 2030})}, 50);'); end; Best regards. Quote
chrisjohn82 Posted June 22, 2016 Author Posted June 22, 2016 Thank you, works great . I saw that there is a new build 99.95.1308. It might work better with the new build.... Best regards 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.