Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - How to display additional categories
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to display additional categories

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


Joined: 16 July 2009
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote StefanNbg Quote  Post ReplyReply Direct Link To This Post Topic: How to display additional categories
    Posted: 16 July 2009 at 5:42pm
Hi
I'm new here and have the following problem:


How can I display additional categories in calender like in OL 2007 ?

thx for help
Stefan


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:14am
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.180 seconds.