Thread: Calendar
View Single Post
davidp
Senior Member
Lone Wolf Staff
 
Join Date: Jun 2011
Posts: 1,090

Old November 26th, 2013, 09:33 AM
Quote:
Originally Posted by glassboy View Post
Hi when you implement the final calendar control the ability to enter the date via the keyboard, rather than a mouse driven control will be essential. I don't want to have to click back from the current date to 931BC to enter the death date of Abdul Alhazred for example.
Our game calendar control allows quick navigation to various years. If you click on the "Month, Year", it will zoom out to show a year at a time. If you then click on the "Year", it will zoom out to show a decade. Keep clicking and it will eventually zoom out to show the epochs, which for Gregorian calendar is BCE and CE. Click in on one of those to zoom in and keep zooming to get to the appropriate item. It takes a few clicks, but it is certainly faster than clicking forward or backward by a month at a time.

As far as supporting keyboard input for the calendars, that becomes quite tricky and most likely won't be available for a while. Since the calendar mechanism is designed to support custom game calendars that can be in very different formats. Also, we support defining several different formats for showing dates and we would need to come up with ways of parsing the user entered data either by forcing it to follow the current display date format or make guesses for formatting by trying each display format and then possibly having problems because of two display formats having conflicting versions of dates.

Basically, the custom calendar mechanism is very flexible and supports a good portion of real and made-up calendar systems we are aware of. It is also very complex and we haven't had the chance to visit the editing portion to make it accessible to a good portion of users which is why it is disabled currently.

It is definitely on our radar to allow for keyboard input of dates. We just have a number of things to work out before allowing it.
davidp is offline   #19 Reply With Quote