Datepicker - any updates?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Datepicker - any updates?

Post by andyh1234 » Sun Apr 26, 2020 2:30 pm

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

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Datepicker - any updates?

Post by bogs » Sun Apr 26, 2020 2:46 pm

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?).
Image

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Datepicker - any updates?

Post by SparkOut » Sun Apr 26, 2020 6:10 pm

Be warned on Windows that any date prior to 01/01/1970 will cause an error on these controls.

andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Re: Datepicker - any updates?

Post by andyh1234 » Mon Apr 27, 2020 10:28 am

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

Post Reply