Print Page | Close Window

Not Delete CalendarEventLabels

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=7625
Printed Date: 06 October 2024 at 4:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Not Delete CalendarEventLabels
Posted By: Ingrid
Subject: Not Delete CalendarEventLabels
Date Posted: 19 July 2007 at 2:17am
Hello,
the calendar Event cannot be deleted.
I become Error.

Dim pLabel As CalendarEventLabels

pLabel.Remove

Call pLabel.AddLabel(0, RGB(255, 255, 255), "Kein")
Call pLabel.AddLabel(1, RGB(255, 148, 132), "wichtig")
Call pLabel.AddLabel(2, RGB(132, 156, 231), "geschäftlich")

Thanks Ingrid



Replies:
Posted By: dentor
Date Posted: 19 July 2007 at 12:41pm
Hello,
 
I think the good syntax must be :
 
With CalendarControl.DataProvider.LabelList
    .RemoveAll
    .AddLabel 0, RGB(255, 255, 255), "Kein"
    .AddLabel 1, RGB(255, 148, 132), "wichtig"
    .AddLabel 2, RGB(132, 156, 231), "geschäftlich"
End With
 
Does it work for you ?
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net