Calendar & Time Chooser Talk (2019)

  1. ‹ Older
  2. 3 years ago

    Mike C

    20 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    Thank you Ulrich for sending me a test app highlighting the code and issue.

    Using Xojo 2015 r4/4.1 we are able to successfully pass customdates without incident using the Xojo.Core.Date and/or Date classes. However when I have been trying to use the Xojo.Core.Date.FromText and pass a Locale parameter It is then failing to operate as expected.

    Getting close, but still trying to work out the final root cause of this issue Ulrich and Scott have seen.

  3. Mike C

    20 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    Updated v3.0.3 - just Committed
    https://github.com/IntelligentVisibility/CalendarTimeChooser/blob/master/README.md

    • Fixed bugs #14 & #13
    • Added new aesthetic feature for optional calendar column separator lines

    -image-

  4. Mike C

    20 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    I updated the aesthetics a bit more trying to update the look to a clean widget like look.

    -image-

  5. Axel S

    is not verified 21 Feb 2016 Europe (Germany, Erfurt)

    I opened the new Version (in Linux) and the days are wrong
    Then I saw your last screenshot here, it shows the error also

    Today is Sunday 21 of February
    in the Sreenshot Sunday is 22 of February

    in In 3_Cal-Time Chooser Custom Classes
    Calendar Paint Event
    // Draw Days Centered

    you forgot to change to
    #ELSEIF TargetMacOS or TargetLinux then

  6. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    @Axel S I opened the new Version (in Linux) and the days are wrong
    Then I saw your last screenshot here, it shows the error also

    Today is Sunday 21 of February
    in the Sreenshot Sunday is 22 of February

    in In 3_Cal-Time Chooser Custom Classes
    Calendar Paint Event
    // Draw Days Centered

    you forgot to change to
    #ELSEIF TargetMacOS or TargetLinux then

    Thanks Axel Ill open up a few issues on this. Thanks for being my Linux regression tester since I only dev/test on OS X.

    Thanks again.
    Mike

    https://github.com/IntelligentVisibility/CalendarTimeChooser/issues/15

    https://github.com/IntelligentVisibility/CalendarTimeChooser/issues/16

  7. Axel S

    is not verified 21 Feb 2016 Europe (Germany, Erfurt)
    Edited 3 years ago

    Mike, day are correct by changing the method getDayOfWeekString

      Select Case inDayOfWeekNum
      Case 6
        Return Localized_Sunday
      Case 0
        Return Localized_Monday
      Case 1
        Return Localized_Tuesday
      Case 2
        Return Localized_Wednesday
      Case 3
        Return Localized_Thursday
      Case 4
        Return Localized_Friday
      Case 5
        Return Localized_Saturday
      End Select
  8. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)

    @Axel S Mike, day are correct by changing the method getDayOfWeekString

    Select Case inDayOfWeekNum Case 6 Return Localized_Sunday Case 0 Return Localized_Monday Case 1 Return Localized_Tuesday Case 2 Return Localized_Wednesday Case 3 Return Localized_Thursday Case 4 Return Localized_Friday Case 5 Return Localized_Saturday End Select

    Thank you Axel that was it and I appreciate your contributions!

  9. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    https://github.com/IntelligentVisibility/CalendarTimeChooser/issues/15 is now Closed
    https://github.com/IntelligentVisibility/CalendarTimeChooser/issues/16 Is now Closed

    It looks much better now with the correct Day of Week showing on the correct day :)

    -image-

  10. Axel S

    is not verified 21 Feb 2016 Europe (Germany, Erfurt)

    after changing the year with the segmented control ,
    to go back to today I must call takeMeToTodaysDate() twice

    Sub Action(itemIndex as integer)
      Select Case itemIndex
      Case 0
        // PREVIOUS YEAR
        goPrevYear()
      Case 1
        // PREVIOUS MONTH
        goPrevMonth()
        
      Case 2
        // TODAY'S DATE
        takeMeToTodaysDate()
        takeMeToTodaysDate()
      Case 3
        // NEXT MONTH
        goNextMonth()
        
      Case 4
        // NEXT YEAR
        goNextYear()
        
      End Select
    End Sub
  11. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    @Axel S after changing the year with the segmented control ,
    to go back to today I must call takeMeToTodaysDate() twice

    Sub Action(itemIndex as integer) Select Case itemIndex Case 0 // PREVIOUS YEAR goPrevYear() Case 1 // PREVIOUS MONTH goPrevMonth() Case 2 // TODAY'S DATE takeMeToTodaysDate() takeMeToTodaysDate() Case 3 // NEXT MONTH goNextMonth() Case 4 // NEXT YEAR goNextYear() End Select End Sub

    Axel I am not clear on your issue and is it only on Linux?

    When I change the year with the ">>" Segmented Control and then hit the "dot" go to today it works for me without a double entry on OS X.

      Select Case itemIndex
      Case 0
        // PREVIOUS YEAR
        goPrevYear()
      Case 1
        // PREVIOUS MONTH
        goPrevMonth()
        
      Case 2
        // TODAY'S DATE
        takeMeToTodaysDate() <-- Works in OS X
        
      Case 3
        // NEXT MONTH
        goNextMonth()
        
      Case 4
        // NEXT YEAR
        goNextYear()
        
      End Select

    Did I understand correctly?

    Thanks

  12. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    Fixed two time picker aesthetic changes:
    1 - Changed the blue highligh from fillrect to fillroundrect consistent with the time picker on OS X
    2 - Changed the tab order behaviour to properly deselect after AM/PM Tab

    -image-

    -image-

  13. Axel S

    is not verified 21 Feb 2016 Europe (Germany, Erfurt)

    I click 2x on >>

    PopupMenus = February & 2018

    click on 'BlackDot'

    PopupMenus = February & 2016
    wrong days

    -image-

    must click on 'BlackDot' again
    days ok

    -image-

  14. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)

    Got it 100% thank you Axel. Thanks!

  15. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)

    Well no wonder why this bug didn't come up the last 2 years of development... This year is a leap year which is the cause of my +1 situation calendar slot wise (issue stated by Axel above).

  16. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    Still tracking down a new issue uncovered.

  17. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    Ok Issue #16 is now completely fixed - thank you Axel for uncovering this and showing me the steps to recreate it!!!

    Thanks Axel and everyone for the support of this project. It has really come along with the Xojo communities help!

    All fixes have been committed to the repository.

    https://github.com/IntelligentVisibility/CalendarTimeChooser

  18. Marco H

    21 Feb 2016 Pre-Release Testers Cali, Colombia

    Looks great guys! Congrats!

    Just a tiny remark; In Dutch, the week days abbreviations are: Ma, Di, Wo, Do, Vr, Za and Zo.

  19. Mike C

    21 Feb 2016 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 3 years ago

    Thanks Marco :) My Dutch is off a bit :) I want to say we had a thing on here a year or so ago where some of the two letter abbreviations conflicted so we moved to three.

    Is this still valid or your two letter abbreviations should replace my 3 letter ones?
    Thanks!

    Currently they are:
    DayOfWeekArray_SS.Append "Zon" // Sunday
    DayOfWeekArray_SS.Append "Maa"
    DayOfWeekArray_SS.Append "Din"
    DayOfWeekArray_SS.Append "Woe"
    DayOfWeekArray_SS.Append "Don"
    DayOfWeekArray_SS.Append "Vry"
    DayOfWeekArray_SS.Append "Zat" // Saturday

  20. 4 weeks ago

    Mike C

    Feb 18 Pre-Release Testers, Xojo Pro North Carolina (USA)
    Edited 4 weeks ago

    Hi all,

    It's been a while, but thanks to @erin j new project (Erin Jamroz Date Picker ) I decided to update this project. I fixed some long standing bugs and aesthetic issues i have had in this project for version 3.0.4.

    Calendar & Time Chooser User Documentation

    Calendar & Time Chooser 3.0.4 on Github

    -image-
    -image-

  21. 3 weeks ago

    Mike C

    Feb 25 Pre-Release Testers, Xojo Pro North Carolina (USA)

    I have replaced the Year popup menu with a combo box (A Sam Rowlands 2015 request :) ). I also have realigned many of the small pixel alignments throughout the project. Additionally I fixed the bug that wasn't allowing users to set their user Start/End Year ranges. ** I do need to throughly test this in Windows 10 still (pending).

    -image-

or Sign Up to reply!