sMonthCalendar produces wrong date

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #68395
    Support
    Keymaster

      Do you mean the result should be empty?
      I have 21-01-2020 when “CellDate[1,0]” is called…

      #68402
      HeDiBo
      Participant

        Do you mean the result should be empty?
        I have 21-01-2020 when “CellDate[1,0]” is called…

        Which is wrong, as the highlighted cell clearly shows 27-01-2020.
        Which brings me to the next observation: the CellDate of the clicked cell should give the date of the clicked cell. Not the highlighted cell and certainly not a cell from last month.

        #68407
        Support
        Keymaster

          Could you show a demo, please?

          #68411
          HeDiBo
          Participant

            Here is a test project.
            I noticed the error because I happened to run it near the beginning of Februari. So, I had to hustle a bit to reshow it.
            In the main form, click “Show Popup”.
            In the popup calendar go to the next year and click anywhere on a date. I dare you to predict what the date will be in the label below the calendar. It should be CellDate[1,0].

            This also brings me to the second point: clicking on a dimmed date, should still return the date clicked. Dimmed does not mean it cannot be clicked. It only means it cannot be returned for selected date.

            Attachments:
            You must be logged in to view attached files.
            #68430
            Support
            Keymaster

              Thanks you, calendar will be changed in the nearest release, I think.

              #68436
              HeDiBo
              Participant

                Please, please make sure the date clicked is returned in the OnClick event. Not some date that happens to be highlighted.

                #68437
                Support
                Keymaster

                  Hi
                  You can try this patched file already.

                  Attachments:
                  You must be logged in to view attached files.
                  #68439
                  HeDiBo
                  Participant

                    Wow!! Much much better now.
                    Thanks 👍

                    #68448
                    HeDiBo
                    Participant

                      Please close this topic.

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • The topic ‘sMonthCalendar produces wrong date’ is closed to new replies.