Week Start |
Post Reply |
Author | |
SHAN
Groupie Joined: 17 July 2010 Location: Dubai Status: Offline Points: 73 |
Post Options
Thanks(0)
Posted: 17 July 2010 at 11:53am |
Hi,
How to Change Calendar Control for First day of Week ? For Example: Work Week View from Sunday to Thursday ...!
Change week End Friday & Saturday.?
Please Help
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional Language: Visual Basic 6.0 |
|
dindo.lales
Groupie Joined: 01 August 2010 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Sub ChangeFirstDayOfWeek ()
objCalendar.Options.FirstDayOfTheWeek = 1 '1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, etc... objCalendar.Options.WorkWeekMask = 31 'This is to define that work weekdays are Mondays through Thursdays. Note that Sunday = 1, Monday = 2, Tuesday = 4, Wednesday = 8, Thursday = 16, Friday = 32, Saturday = 64. Just add all numeric values of your work days and assign it to WorkWeekMask property of the CalendarOptions object End Sub |
|
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 |