ChangingCategories of internal Dialog |
Post Reply |
Author | |
hjmueller
Newbie Joined: 29 March 2008 Location: Germany Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 29 March 2008 at 4:39am |
We want to use the internal Dialogs form Calendar and we have changed the transation to german needs, But i didn't find a way to change the categories List i.e. in the EditEvent Dialog (it shows the items Green Category, blue category ...).
To Change the Provider.ListItems has no effect to the Dialog. Any Ideas ? thanks in advance Hans |
|
Maddin
Newbie Joined: 24 September 2008 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
I think what you mean, is to change the items that in the samples are in the Combobox "Labels".
The Dataprovider contains a collection named "Labellist".
modify that like this:
frmMain.CalendarControl.DataProvider.LabelList.RemoveAll frmMain.CalendarControl.DataProvider.LabelList.AddLabel 0, &HFFFFFF, "none" frmMain.CalendarControl.DataProvider.LabelList.AddLabel 1, &HFF&, "test #1" frmMain.CalendarControl.DataProvider.LabelList.AddLabel 2, &HFF00&, "test #2" frmMain.CalendarControl.DataProvider.LabelList.AddLabel 3, &HFF0000, "test #3" Of course, you can make an own database table containing your labels and load the labellist upon initialization and store your labels upon creation into your database.
|
|
chavnick
Newbie Joined: 23 October 2009 Location: Greece Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Please give me the full code to do this in Microsoft Access 2003.
|
|
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 |