Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Week Start
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Week Start

 Post Reply Post Reply
Author
Message
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Topic: Week Start
    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
Back to Top
dindo.lales View Drop Down
Groupie
Groupie


Joined: 01 August 2010
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote dindo.lales Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2010 at 10:06pm
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.