CalendarControl.DataProvider.LabelList |
Post Reply |
Author | |
wakerunner
Groupie Joined: 29 September 2007 Status: Offline Points: 85 |
Post Options
Thanks(0)
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?
|
|
dentor
Senior Member Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
Post Options
Thanks(0)
|
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 :
|
|
wakerunner
Groupie Joined: 29 September 2007 Status: Offline Points: 85 |
Post Options
Thanks(0)
|
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?
|
|
dentor
Senior Member Joined: 30 November 2005 Location: France Status: Offline Points: 102 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |