[SOLVED]SwitchToDayViewIfPickedSingleDay |
Post Reply |
Author | |
Carlos Rocha
Groupie Joined: 11 February 2008 Location: Portugal Status: Offline Points: 92 |
Post Options
Thanks(0)
Posted: 19 September 2016 at 10:09am |
Doesn't work if the current selection in date picker is a WorkWeek. The only way to change to single day is by switching to full week or month view and then clicking a day.
I think the evil comes from the fact that the calendar view faultomatically force WorkWeekView when the selection is exactly from Monday to Thursday. It works as expected for every other kind of selection. Can any soul please point me in the right direction to get around this? Thanks |
|
SuitePro 20.3.0
OS: Windows 10 Language: Visual Objects 2.8 |
|
Carlos Rocha
Groupie Joined: 11 February 2008 Location: Portugal Status: Offline Points: 92 |
Post Options
Thanks(0)
|
Ok, I managed to get around it.
Instead of using WorkWeekMask, use BeforeDrawThemeObject event to set the BackgroundColor to the color used for NonWorkCell if the day is Saturday or Sunday. |
|
SuitePro 20.3.0
OS: Windows 10 Language: Visual Objects 2.8 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |