I have a NSDatePickerControlMBS and want to change the first day of the week. According to the documentation the NSDatePickerControl has a calendar, which has a property FirstWeekday. From the Open event:
[code]CalendarLowerRef = CalendarLower.View
'set some other properties
CalendarLowerRef.datePickerElements = NSDatePickerMBS.NSYearMonthDayDatePickerElementFlag
dim theCal as new NSCalendarMBS
theCal.firstWeekday = 0 ’ also tried value of 1
CalendarLowerRef.calendar = theCal[/code]
But the calendar doesn’t change. What am I doing wrong here?
macOS 10.11., Xojo 2018r1.1, 64bit, latest MBS