Print Page | Close Window

CalendarControl.DataProvider.LabelList

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=12972
Printed Date: 18 July 2025 at 1:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CalendarControl.DataProvider.LabelList
Posted By: wakerunner
Subject: CalendarControl.DataProvider.LabelList
Date Posted: 18 December 2008 at 5:53pm
Where is the default labels saved/ retrieved from?
 
I haven't been able to find where the sample calendar program gets the labels from. I know how to clear and add your own labels but it looks like you would have to do it on each startup. Is there a way you can permanently change them?



Replies:
Posted By: dentor
Date Posted: 20 December 2008 at 9:39am
Hello,
 
If you use Access DataProvider, the labels are stored in the Access Database in the Table call 'Categories' where you can modify your personal label names or colors permanently :
 
 


Posted By: wakerunner
Date Posted: 20 December 2008 at 10:38am
Thats weird, I converted the events.mdb and the sample code to a firebird database and the tables "Categories" and "Dispo" did not come over to firebird, but somehow the sample categories are there still when I run the sample. 
 
When I open the "Events.mdb" that was created with the sample before I converted it to firebird I don't see those tables. Does it use default labels unless you create that table?


Posted By: dentor
Date Posted: 20 December 2008 at 2:39pm
Sorry, you're right.
 
These two tables (categories, dispo) doesn't exist after the creation of *.mdb file.
 
I automatically create these two new tables after the creation of the mdb file, fill them with the default values, and read them just after every opening of the file. This allows the user to customize them (I forgot this automatic function).
 
Without these tables, CalendarControl use the default values, or the values stored in the translation file 'SuitePro.Resource??.dll'.
 
Sorry again for the wrong info.
 
 



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