Page 1 of 1
Datepicker - any updates?
Posted: Sun Apr 26, 2020 2:30 pm
by andyh1234
Hi
Ive been away from Livecode for a while (about 6 years!).
It looks like the native controls for mobile have a datepicker, bar code reader etc, but I'm just wondering if there is a datepicker widget anywhere for mac and windows to save me having to re-invent the wheel?
Thanks
Andy
Re: Datepicker - any updates?
Posted: Sun Apr 26, 2020 2:46 pm
by bogs
Well, I don't know of any date picking widget per se for desktop, but there are a few date picking controls/libraries that were made.
For instance, Sarah graciously set up this
github repository, which has a calendar, among other things.
I think MaxV also setup a date picker, though that currently has escaped me as to where it went (maybe someone else has a link?).
Re: Datepicker - any updates?
Posted: Sun Apr 26, 2020 6:10 pm
by SparkOut
Be warned on Windows that any date prior to 01/01/1970 will cause an error on these controls.
Re: Datepicker - any updates?
Posted: Mon Apr 27, 2020 10:28 am
by andyh1234
Thanks, Ill take a look.
Thanks for the 1970 tip as well, I can catch anything outside of what I would expect, but would not have thought about it.
I had thought I might have had to look at setting up a browser component, loading some HTML picker in that and then getting a result back as this would also enable any HTML widget for use with livecode, but if there is a native way that would be better.
Ideally of course, a date picker that works on every platform without any coding changes at all would be best
Thanks again.
Andy