[v2.0.2] Restricting calendar dates is not working Topic is solved

Report problems with documented functionality
User avatar
RaptorX
Posts: 371
Joined: 06 Dec 2014, 14:27
Contact:

[v2.0.2] Restricting calendar dates is not working

Post by RaptorX » 06 Jun 2023, 11:45

Consider the following v1 code

Code: Select all

gui main:new
gui add, monthcal, vcalendar w-2 r4 multi range20050101-20050615
gui show
This yields a calendar with restrictions:
Spoiler

You cant pick other years:
Spoiler

Now consider the following equivalent v2 code:

Code: Select all

main := gui()
main.addMonthCal('vCalendar w-2 r4 Multi Range20050101-20050615')
main.show()
It doesnt apply the restrictions correctly:
It only restricts future dates but not previous ones.
Spoiler
Projects:
AHK-ToolKit


Post Reply

Return to “Bug Reports”