Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - CalendarControl.DataProvider.EventCategories.Add
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CalendarControl.DataProvider.EventCategories.Add

 Post Reply Post Reply
Author
Message
fergie View Drop Down
Groupie
Groupie


Joined: 20 May 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote fergie Quote  Post ReplyReply Direct Link To This Post Topic: CalendarControl.DataProvider.EventCategories.Add
    Posted: 09 September 2008 at 8:09am
How do i implement this?
 
I am trying to add additional categories but for the life of me cant!!!
 
Please help.
 
Regards
David
 
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2009 at 10:15am
CalendarEventLabels listLabels = wndCalendarControl.DataProvider.LabelList();
 // Use to remove all built in labels
 // listLabels.RemoveAll();
listLabels.AddLabel(0, 0, "None category");
listLabels.AddLabel(1, 0xff0000, "Blue category");
listLabels.AddLabel(2, 0x00ff00, "Green category");
listLabels.AddLabel(3, 0x0000ff, "Red category");
wndCalendarControl.Populate();  
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.125 seconds.